User forums > Help
Compile error with gcc 4.0.2 + disabled pch in rev2712
(1/1)
TheTuxKeeper:
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
--- End code ---
With pch enabled everything compiles fine. :)
mandrav:
Should be fixed now, thanks :).
TheTuxKeeper:
--- Quote from: mandrav on July 08, 2006, 08:11:40 am ---Should be fixed now, thanks :).
--- End quote ---
Yes, it's fixed :D
Thank you, too ;)
Navigation
[0] Message Index
Go to full version