Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!decvax!decwrl!amdcad!amd!pesnta!peora!ucf-cs!novavax!hrshcx!hcx1!notes From: notes@hcx1.UUCP Newsgroups: net.lang.c Subject: Re: enum function bug? Message-ID: <103@hcx1.UUCP> Date: Mon, 22-Sep-86 13:14:47 EDT Article-I.D.: hcx1.103 Posted: Mon Sep 22 13:14:47 1986 Date-Received: Tue, 23-Sep-86 18:52:01 EDT Sender: notes@hcx1.UUCP Organization: Harris CSD, Fort Lauderdale, Florida Lines: 21 Nf-ID: #R:sdchema:-29900:hcx1:5500005:000:399 Nf-From: hcx1!daver Sep 22 12:02:00 1986 On a somewhat related matter, I noticed the following: AT&T 5.2.2 source seems to accept the following, but Berkeley 4.2 & 4.3beta give a warning of inconsistent usage. struct st { int c ; } ; int func (b); int b; { } main() { struct st s; func (&s); } If 's' were a character array, however, AT&T would also complain. Dave Ray -- uucp: {ucf-cs|allegra}!novavax!hrshcx!hcx1!daver