Code::Blocks Forums

User forums => Help => Topic started by: TheTuxKeeper on July 08, 2006, 12:23:01 am

Title: Compile error with gcc 4.0.2 + disabled pch in rev2712
Post by: TheTuxKeeper on July 08, 2006, 12:23:01 am
When compiling cb without precompiled headers on FC4 (gcc 4.0.2) I get this error:
Code
configmanager.h: In member function 'void ConfigManager::Read(const wxString&, std::map<wxString, T*, std::less<wxString>, std::allocator<std::pair<const wxString, T*> > >*)':
configmanager.h:252: error: there are no arguments to 'cbC2U' that depend on a template parameter, so a declaration of 'cbC2U' must be available
configmanager.h:252: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
configmanager.h:253: error: there are no arguments to 'cbC2U' that depend on a template parameter, so a declaration of 'cbC2U' must be available
With pch enabled everything compiles fine. :)
Title: Re: Compile error with gcc 4.0.2 + disabled pch in rev2712
Post by: mandrav on July 08, 2006, 08:11:40 am
Should be fixed now, thanks :).
Title: Re: Compile error with gcc 4.0.2 + disabled pch in rev2712
Post by: TheTuxKeeper on July 08, 2006, 12:57:38 pm
Should be fixed now, thanks :).
Yes, it's fixed :D
Thank you, too ;)