Bug #19168 2013-10-24 20:01

maxis11

Cannot compile plugins

/usr/local/include/codeblocks/prep.h|222|error: expected unqualified-id before numeric constant|

/usr/local/include/codeblocks/prep.h|228|error: expected unqualified-id before numeric constant|

line 222: const bool linux = (id == platform_linux);

line 228: const bool unix = (linux | freebsd | netbsd | openbsd | darwin | solaris);

it seems that linux and unix has already defined.

using codeblocks svn build rev 9417 (2013-10-22 07:06:26) gcc 4.8.1 Linux/unicode - 64 bit kubuntu 13.10

Category
 
Group
Platform:Linux
Status
Closed
Close date
2013-11-08 21:00
Assigned to
tpetrov
tpetrov 2013-11-08 20:34

Add -ansi to your build options and it will go away.

tpetrov 2013-11-08 21:00

This bug is now fixed in HEAD.

Thank you for reporting it.