This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Error


On Friday 2008-12-26 07:29, fimer wrote:
>> 
>> 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.
>
>If it is, can this also be resolved by adding any option to compile command?

Can't you just fix the code?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]