This is the mail archive of the gcc-help@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]

Re: -std=c90 -pedantic-errors and <stdint.h>


On Thu, 1 Jun 2017, Jonathan Wakely wrote:

No, the goal of -pedantic-errors is not to be a portability checker or
conformance tester.

It's to disable standard-conflicting GNU extensions so that you get an
error when the standard requires a diagnostic.

On the other hand, we have -Wc90-c99-compat "Warn about features not present in ISO C90, but present in ISO C99." which might be an ok place to add a warning about stdint.h (or not).

--
Marc Glisse


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