This is the mail archive of the gcc@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] | |
Bruce Stephens <bruce@cenderis.demon.co.uk> writes: >> It is a pedwarn, hence you need -pedantic also. > > Which is useful, except that it also complains about: > > #ifdef __cplusplus > // foo > #endif As it should. This will be misinterpreted by a plain-C89 compiler; comment stripping happens before #ifdef processing. zw
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |