[xsde-users] C++ style comments cause error when complied by c (old) compiler (gcc 2.96)

Boris Kolpackov boris at codesynthesis.com
Mon Aug 30 09:36:09 EDT 2010


Hi Terry,

O'Laughlin, Terry <Terry.O'Laughlin at ipc.com> writes:

> C:\xsde_v3.2_posix\libxsde\xsde\c  pre.h & post.h contain C++ '//' style 
> comments.  Our build environment (gcc2.96) does not like this.  
> Encapsulated C++ comments within C style "/* */' comments.  Build 
> completes fine.

Good stuff. I have committed the fix:

http://scm.codesynthesis.com/?p=xsde/xsde.git;a=commit;h=ab27d628b1e1500a22597acad013c4b50e5474a9

Thanks for reporting this!

Boris



More information about the xsde-users mailing list