This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC Compile errors


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]