Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-12-17 01:16:36


Toon Knapen wrote:
> I modified modules/sequence.c at line 11 to change the C++ style comment
> into a c-style comment. Some C compilers (for example IBM's) choke on
> this. I checked it in right away as I suppose nobody would object.

Thanks, Toon, and sorry for inconvenience. I think we should run gcc with
-pedantic, to avoid such problems in future. If I add it, I get:

execunix.c:13:21: warning: C++ style comments are not allowed in ISO C90
execunix.c:13:21: warning: (this will be reported only once per input file)
fileunix.c:22:22: warning: C++ style comments are not allowed in ISO C90
fileunix.c:22:22: warning: (this will be reported only once per input file)
pathunix.c:289:5: warning: C++ style comments are not allowed in ISO C90
pathunix.c:289:5: warning: (this will be reported only once per input file)

Ok, I'm fixing the above problems and adding -pedantic.

- Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk