I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error. ----------------------------------------------------------------- mach.h error: conflicting types for `typedef vx_u32_t off32_t'
/usr/include/sys/types32.h:30: error: previous declaration as `typedef int32_t off32_t' ------------------------------------------------------------ I cant remove mach.h, neither i can edit the file mach.h Is there any particular switch/flag which can resolve the conflicting 'typedef' error The flags i am using are - /usr/local/gcc/3.3.5/bin/gcc -c -fpermissive -fno-gnu-keywords -DXTFUNCPROTO -Usun -xildoff -fPIC -m64 -xchip=ultra -xarch=v9 -xnone -DLGTO_LP64 -g -DIDENT -DALT_ORIGIN=\"../lib/nsr\" -DDM_SOLARIS -D_POSIX_PTHREAD_SEMANTICS -DASYNC_IO -DNSR_POSIX4_ASYNC_IO -Dsolaris -DRELEASE_27 -DDM_BUILD=\"tmp\" -DHSM_SERVER -D__lgto ndmp__ -DSNMP_SUPPORT -DENABLERS -DSTL_SUPPORT -DSTL_CLIENT_SUPPORT -DOPENVAULT_SUPPORT -Dsolaris64 -- View this message in context: http://www.nabble.com/Conflicting-%27typedef%27-error---Which-gcc-switch-to-use--tf2292090.html#a6366344 Sent from the gcc - bugs mailing list archive at Nabble.com.