Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!princeton!allegra!alice!bs From: bs@alice.UUCP Newsgroups: comp.lang.c++ Subject: Re: C++ 1.1 function argument checking bug Message-ID: <6758@alice.uUCp> Date: Sat, 28-Mar-87 22:31:28 EST Article-I.D.: alice.6758 Posted: Sat Mar 28 22:31:28 1987 Date-Received: Tue, 31-Mar-87 00:59:50 EST References: <18010@ucbvax.BERKELEY.EDU> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 12 Keywords: C++, 1.1, function, argument, checking, bug Summary: enums - not a bug ``that is not a bug; it is a feature'' C++ like C does not recognize ennumerations as separate types (whatever 4.? lint says). enumerators are constants of type int. Note that even the following is legal (if not sensible): enum E { blue, green } e = 7; Comments to /dev/nul or ANSI - please.