-std=c90 -pedantic-errors and <stdint.h>
Xi Ruoyao
ryxi@stu.xidian.edu.cn
Thu Jun 1 19:11:00 GMT 2017
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@stu.xidian.edu.cn>
School of Aerospace Science and Technology, Xidian University
More information about the Gcc-help
mailing list