GCC Compile errors

lakersfan74 lakersfan74@msn.com
Thu Feb 12 12:00:00 GMT 2009


I have a simple c++ project and I get this weird compile error..I use GCC
4.3.2 in ubuntu 8.10

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

At assert.h it gives error on this line

#if defined __cplusplus && __GNUC_PREREQ (2,95)
# define __ASSERT_VOID_CAST static_cast<void>
#else
# define __ASSERT_VOID_CAST (void)
#endif

Any help would be appreciated.

Thanks,
Bharani
-- 
View this message in context: http://www.nabble.com/GCC-Compile-errors-tp21974597p21974597.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list