Re: Inconsistency with C language standard

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

 



On Thu, 14 Oct 2021, 03:29 3497650172 via Gcc-help, <gcc-help@xxxxxxxxxxx>
wrote:

> The C language standard specifies that the "enum" constant is of type int,
> but GCC supports all integers.And i did not find this discrepancy in the
> official manual.


There is not discrepancy, GCC conforms to the standard. It is documented at
https://gcc.gnu.org/onlinedocs/gcc/Structures-unions-enumerations-and-bit-fields-implementation.html

Did I not find it or did the official website document not explain it at
> all?


You didn't find it.

How do I know all the differences?


Read the manual
https://gcc.gnu.org/onlinedocs/gcc/C-Implementation.html



[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