Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830919); site mcvax.UUCP Path: utzoo!linus!philabs!mcvax!guido From: guido@mcvax.UUCP (Guido van Rossum) Newsgroups: net.lang.c Subject: Re: Retraction of question about casts and pointers Message-ID: <5526@mcvax.UUCP> Date: Wed, 23-Nov-83 10:44:09 EST Article-I.D.: mcvax.5526 Posted: Wed Nov 23 10:44:09 1983 Date-Received: Sat, 26-Nov-83 03:53:01 EST References: <1807@fortune.UUCP> Organization: Math.Centre, Amsterdam Lines: 12 Doesn't lint complain about ANY cast under the -c option except of conversions between the arithmetic types (int, char, float and their short, unsigned and/or long variants)? My opinion is that casts in initializers are as valid as anywhere in expressions; the only restrictions on initializers is that they be computable at load time (given a conventional loader, that is!). While I'm on the subject: I would love to have a -p option which checked portability to V7 Unix (8 char identifiers, 7 char externals). I don't believe in 6-characters one-case externals; but I do believe in PDP-11's (We run 4.2 BSD.)