News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compile error with gcc 4.0.2 + disabled pch in rev2712

Started by TheTuxKeeper, July 08, 2006, 12:23:01 AM

Previous topic - Next topic

TheTuxKeeper

When compiling cb without precompiled headers on FC4 (gcc 4.0.2) I get this error:
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. :)
Nightly builds for openSUSE

mandrav

Be patient!
This bug will be fixed soon...

TheTuxKeeper

Nightly builds for openSUSE