User forums > Using Code::Blocks
Compile error on Ubuntu (SVN version)
David Perfors:
After a long time I am on Linux again :lol: but when trying to compile C::B I get the following error:
--- Code: ---./cbexception.h: In member function ‘void cbException::ShowErrorMessage(bool)’:
./cbexception.h:44: error: ‘L__DATE__’ was not declared in this scope
./cbexception.h:44: error: ‘L__TIME__’ was not declared in this scope
--- End code ---
This is while compiling sdk.h.gch.
Is this a known issue?
connyosis:
Yeah I get that too. I figure I'll wait a while and see if it gets fixed. It is svn after all...
undofen:
Yeah but we linux-only users are a bit out of luck I think, I'm not sure if any of the dev's are using linux as their main os. Thats why everythings works on win first, maybe if were lucky will get a linux-only C::B dev for christmas ;-).
rickg22:
L__DATE__ ?
ROFL! That's because someone used _T() macro on another macro. They should use wxT() instead. Yes, Macros are Evil(TM) :P.
OK, fixed (rev 1540).
David Perfors:
That did the trick :)
btw. on other places I get the same problems...
(for now startherepage.cpp:104) I will hunt these errors down and commit the changes..
Navigation
[0] Message Index
[#] Next page
Go to full version