Hello all ! I have problem with this construction: class TxtVideo { protected: static unsigned int* const VBASE = (unsigned int*) 0x0c00b8000L; When compiling it I'm getting error message: error: invalid in-class initialization of static data member of non-integral type `unsigned int* const' I want to define this constant in header file becouse compiler must be able to insert it as imidiatly operand, like #define constants. I can define it as integral type such as int, but thet I must always use reinterpret_cast<unsigned int*>. This is bad solution. I discover, that this error appear only in g++ >= 3.0, in 2.9* it was all right.