On 10/26/07, Timothy J. Weber wrote: > Xiaofan Chen wrote: > > On 10/25/07, Ruben J=F6nsson wrote: > >> -fpermissive perhaps? > > > >>> DeviceData.h:15: error: extra qualification 'CDeviceData::' on member > >>> 'ClearAllData' > >>> DeviceData.h:16: error: extra qualification 'CDeviceData::' on member > >>> 'ClearProgramMemory' > > > > Thanks. I got the same answer from Google. > > > > Is this specific to g++ or this is a violation to the standard C++? The > > original code is written for Visual C++ 2005 Express Edition. > > It is not standard C++. > > At least - I don't have the latest flavor of the standard, but I > certainly have never seen it done that way and I think I'm an expert. :) > > It's certainly not *necessary* to add those qualifiers within the class > declaration, so whether or not it's technically allowed, it's redundant > and highly unusual. I see. I will remove them and use Visual C++ to build it again and see if it is ok. Xiaofan -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist