This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Missing default in switch
In comp.lang.c Nick Maclaren <nmm1@cus.cam.ac.uk> wrote:
> None of this has anything to do with the C standard, or even whether
> a compiler should issue a diagnostic on a missing default label.
> There are at least half a dozen methods of implementing branch
> tables, even restricting ourselves to ones that are best in at
> least some circumstances.
(your grammar is a bit lacking in the last sentence - would you care to
repair it and attempt to make it sensible?)
--
Thomas E. Dickey
dickey@clark.net
http://www.clark.net/pub/dickey