I don't know if this is just a problem with my launchpad recipe (see
https://code.launchpad.net/~damien-moore/+recipe/codeblocks-daily) but I suspect not.
System is Ubuntu 13.10, i386, wx-2.8.12, gcc4.6.3
With trunk installed (rev 9404), create a CB plugin using the wizard, then build I get
-------------- Build: default in test (compiler: GNU GCC Compiler)---------------
g++ -I/usr/include/codeblocks -I/usr/include/codeblocks/tinyxml -I/usr/include/codeblocks/scripting/include -I/usr/include/codeblocks/scripting/bindings -I/usr/include/codeblocks/scripting/sqplus -I/usr/include/codeblocks/wxscintilla/include -I/usr/lib/i386-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -c src/cbplugin/test/test.cpp -o .objs/test.o
In file included from /usr/include/codeblocks/sdk_common.h:43:0,
from /usr/include/codeblocks/sdk_precomp.h:13,
from /usr/include/codeblocks/sdk.h:17,
from src/cbplugin/test/test.cpp:1:
/usr/include/codeblocks/prep.h:221:16: error: expected unqualified-id before numeric constant
/usr/include/codeblocks/prep.h:227:16: error: expected unqualified-id before numeric constant
Process terminated with status 1 (0 minute(s), 5 second(s))
2 error(s), 0 warning(s) (0 minute(s), 5 second(s))
To get it to build, I have to
#undef linux and
#undef unix at the top of test.cpp (the plugin implementation)
Searching I saw this issue came up a year or two back and was blamed on something screwy with system headers. Is that right?