Ian Lance Taylor-3 wrote: > > Denisius <fanatica0@xxxxxxxxxxx> writes: > >> Whenever I try to compile I get the following error: >> >> "In file included from act_comm.cpp:26: >> lockers.h:81: error: extra qualification âlockers_object::â on member >> âget_next_free_locker_numberâ" >> >> I am using GCC 4.3. > > There is little we can do to help you with so little information. > > That said, the most likely problem is that the code is doing something > like this: > > class C { void C::fn(); } > > That is invalid C++ syntax, but older versions of gcc--before gcc 3.4, > I think--used to accept it. The "C::" must be omitted. > > Ian > > If it is, can this also be resolved by adding any option to compile command? -- View this message in context: http://www.nabble.com/GCC-Error-tp20528286p21172193.html Sent from the gcc - Help mailing list archive at Nabble.com.