switch() difficulties in gcc v1.35

weisen at eniac.seas.upenn.edu weisen at eniac.seas.upenn.edu
Sun Dec 24 18:43:32 AEST 1989


Thanks to all those who gave me (non-obnoxious) replies to my posting.
I didn't realize that gcc would interpret `defualt' in a case xxx: as
a label if it hadn't been defined.  Is this non-ANSI C not to give an
error for undefined and un-prototyped symbols.

Neil


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   #              ##    Neil Weisenfeld        | Internet:
  ###               #   Univ. of Pennsylvania  | weisen at eniac.seas.upenn.edu
   #                 #  Computer Science Dept. | 
         #####       #  Class of 1991          | 
   #                 #                         | USPS:                    
  ###               #   <-giant killer         | 3700 Spruce St., Box 572 
   #              ##      net-smile            | Philadelphia, PA  19104  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the Comp.lang.c mailing list