Author Topic: CodeBlocks build errors  (Read 1855 times)

Offline lakersfan74

  • Single posting newcomer
  • *
  • Posts: 9
CodeBlocks build errors
« on: February 12, 2009, 11:07:29 am »
     I have built a project using Codeblocks in Ubuntu. It doesnt use wxWidgets. I get some wierd errors like the following

/usr/include/assert.h:39:42: error: missing binary operator before token "("

In assert.h the error is on the first line
#if defined __cplusplus && __GNUC_PREREQ (2,95)
# define __ASSERT_VOID_CAST static_cast<void>
# define __ASSERT_VOID_CAST (void)

I m not sure its GCC issue or codeblocks'.

Any help would be appreciated.