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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/06/17 14:55, Vincent Lefevre wrote:
> On 2017-06-01 13:45:07 +0100, Jonathan Wakely wrote:
>> On 1 June 2017 at 12:52, Vincent Lefevre wrote:
>>> The goal of -pedantic-errors is to *detect* that the developer writes
>>> something like the above instead of just:
>>>
>>> #include <stdint.h>
>>
>> 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.
> 
> What??? Strings longer than the C90 limit are certainly not
> GNU extensions!!!
> 

To be consistent, the -Woverlength-strings warning should be removed :-)





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux