GCC Compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux