Author Topic: Compile error with gcc 4.0.2 + disabled pch in rev2712  (Read 3476 times)

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Compile error with gcc 4.0.2 + disabled pch in rev2712
« 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. :)
« Last Edit: July 08, 2006, 12:24:33 am by daniel2000 »
Nightly builds for openSUSE

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Compile error with gcc 4.0.2 + disabled pch in rev2712
« Reply #1 on: July 08, 2006, 08:11:40 am »
Should be fixed now, thanks :).
Be patient!
This bug will be fixed soon...

Offline TheTuxKeeper

  • Regular
  • ***
  • Posts: 293
  • daniel2000
Re: Compile error with gcc 4.0.2 + disabled pch in rev2712
« Reply #2 on: July 08, 2006, 12:57:38 pm »
Should be fixed now, thanks :).
Yes, it's fixed :D
Thank you, too ;)
Nightly builds for openSUSE