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

Marc Glisse marc.glisse@inria.fr
Thu Jun 1 13:28:00 GMT 2017


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



More information about the Gcc-help mailing list