This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [using gcc book] ch3.8 options to request or suppress warnings


Chris Devers wrote:
In section 3.8 of _Using GCC_, the description of the flags -Wswitch et
alia refer to "enumeral types".

enumeral type is a common gcc internals term. We even use it in a few error messages. ENUMERAL_TYPE is the tree code in tree.def for an enumerated type, and has probably been there since about 1985. It isn't clear where the term came from, maybe it was in use before the C standard was published, thus documenting that enumerated type was the preferred term.


It is probably better to use enumerated type, and we should probably convert uses of enumeral in the source code to be enumerated instead.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]