Missing default in switch

J. J. Farrell jjf@bcs.org.uk
Tue Oct 19 15:12:00 GMT 1999


In article < 7uhfae$179$1@nnrp1.deja.com >,
  Alex Vinokur <alexander.vinokur@telrad.co.il> wrote:
>
> Is there any possibility to make a compiler protest
> against missing default-word in switch-statement?

Compilers are allowed to put out any warning messages they
fancy, so there's no reason why a compiler couldn't do this.
To find out whether or not a particular compiler can be made
to do so, you'll have to study its documentation or ask in a
newsgroup which discusses it.




Sent via Deja.com http://www.deja.com/
Before you buy.


More information about the Gcc-help mailing list