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 »
Hello,
     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>
#else
# define __ASSERT_VOID_CAST (void)
#endif

I m not sure its GCC issue or codeblocks'.

Any help would be appreciated.

Thanks,
Bharani