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

Jim Wilson wilson@tuliptree.org
Tue Aug 26 03:13:00 GMT 2003


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



More information about the Gcc mailing list