This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Policy re -pedantic



There are two possible interpretations of -pedantic for the C compiler:

- Always be pedantic about C89.
- Be pedantic about whichever standard version has been selected with -std=.

I believe that currently we implement #1.  I think #2 makes more sense,
since the list of things to be pedantic about is different: for example,
long long constants are a GCC extension to C89, but they are standard in
C9x.

zw