On Fri, 19 Dec 1997, Daniel Koepke wrote: >Uhm, I said ANSI C, not 'gcc'. For your information, while gcc, for That's the -pedantic and/or -ansi flag. >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 /usr/include/socketbits.h:141: warning: ANSI C forbids zero-size array `__cmsg_data' (GNU Libc 6/2.0.5.c header without -ansi flag but with -pedantic) >'break' was required. In fact, older versions of 'gcc' warned about >unterminated 'case' statements. >BTW, is there such a thing as being "simply wrong"? Of course, we all do it eventually. :) -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | 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