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

Vincent Lefevre vincent+gcc@vinc17.org
Thu Jun 1 12:57:00 GMT 2017


On 2017-06-01 14:51:52 +0200, Toebs Douglass wrote:
> On 01/06/17 14:45, 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.
> 
> [snip]
> 
> Thanks for that, Jonathan.
> 
> I can't speak for others, but it clears things up for me.

No, that's definitely *not* clear! I'm still waiting the answer for
the strings longer than the C90 limit.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Gcc-help mailing list