public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Enum are type or just an alias for integral types
@ 2006-02-01  9:07 Olivier Delannoy
  0 siblings, 0 replies; only message in thread
From: Olivier Delannoy @ 2006-02-01  9:07 UTC (permalink / raw)
  To: gcc-help

Hello,
gcc seems to handle enum in different ways depending on the version
used. For example, gcc 3.3.6 does not complains if a declaration and a
definition mismatch on the enum type supported but
gcc 3.4.5 detect this as an error.

My interogation on the topic are the following :

How enums are handle by the type checker subsystem ?

Are they real type or just an integral of the smallest acceptable size ?

Does gcc handle this the same way as g++ ?

What is the behaviour of the various stable branches regarding this issue ?


Best regards
Olivier

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-01  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-01  9:07 Enum are type or just an alias for integral types Olivier Delannoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).