Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: comp.lang.c Subject: Re: Why are typedef names in the same name space as variable names? Message-ID: <7393@utzoo.UUCP> Date: Tue, 9-Dec-86 17:00:21 EST Article-I.D.: utzoo.7393 Posted: Tue Dec 9 17:00:21 1986 Date-Received: Tue, 9-Dec-86 17:00:21 EST References: <1092@spice.cs.cmu.edu> Organization: U of Toronto Zoology Lines: 15 > > Can you name a few? Extern is the way it has always been in C; compilers > > which default to static are broken. (Please don't cite C++, that isn't C.) > > The default storage class specifiers are identical in C and C++ so the glib > remark about C++ is irellevant in the context... Some private correspondence with Bjarne has cleared up a misunderstanding on my part. I was misled by (a) some confusing differences in terminology between C and the C++ book, and (b) the fact that early, pre-book, versions of C++ did indeed default to "static" (in the C meaning). Bjarne comments: "This was probably the right decision in the abstract, but in actual use it created so much resistance and confusion that I backed off." -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,decvax,pyramid}!utzoo!henry