Re: [OFF-TOPIC] question about switch, return, break

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 12/19/97


->I am sorry Daniel, but you are simply wrong.  Try it for yourself.
->Compile this with gcc:

Uhm, I said ANSI C, not 'gcc'.  For your information, while gcc, for
the most part, follows the ANSI standard, it does not do so to the
letter.  For instance, the ANSI C standard does not define a way for
zero-length arrays.  'gcc' does.  And, last I checked, a terminating
'break' was required.  In fact, older versions of 'gcc' warned about
unterminated 'case' statements.

BTW, is there such a thing as being "simply wrong"?


daniel koepke / dkoepke@california.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST