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

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

 



On 2017-06-01 13:47 -0500, Ian Pilcher wrote:
> On 06/01/2017 06:52 AM, Vincent Lefevre wrote:
> > The goal of -pedantic-errors is to *detect* that the developer writes
> > something like the above instead of just:
> 
> I wonder if what is really desired here is a warning about the use of
> the non-standard "real" type -- presumably long long int in this case.

The problem is not they are using int64_t (a.k.a. long long int).
Program using <stdint.h> won't compile in the environments which only
support C90, without stdint.h.
-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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