🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6235

Re: Namespace for typedefs

#6235
From: Wm E. Davidsen Jr
Date: Sun, 25 Feb 1990 14:26
23 lines
1543 bytes
In article <38@asterix.stanford.edu> kon@asterix.Stanford.EDU (Ronnie Kon) writes:

| 	My questions then, are
| 		1)  Do people agree that this is the explanation for the fact
| 		that my compilers (I have tried this on a number of different
| 		machines) accept the first fragment but reject the second?

  Without a copy of the standard home I can't be sure if you're right.
It certainly looks as if the behavior violates the "law of least
astonishment" rule, if nothing else.
| 
| 		2)  Do other people believe that this should be changed?

  I think think it's urgent. When the next standard committee is
meeting, I would agree that this would be a good place for enhancement.
Having a typedefname behave like a type in all cases would probably be
the best way to have it work. I suppose that it will break some
"tricky" program or other.
-- 
bill davidsen - davidsen@sixhub.uucp (uunet!crdgw1!sixhub!davidsen)
    sysop *IX BBS and Public Access UNIX
    moderator of comp.binaries.ibm.pc
"Getting old is bad, but it beats the hell out of the alternative" -anon
Technical Details
Message-ID: <538@sixhub.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!rpi!crdgw1!sixhub!davidsen
References: <38@asterix.stanford.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!uwm.edu!rpi!crdgw1!sixhub!davidsen
From: davidsen@sixhub.UUCP (Wm E. Davidsen Jr)
Newsgroups: comp.std.c
Subject: Re: Namespace for typedefs
Keywords: namespace, name, space, typedef
Message-ID: <538@sixhub.UUCP>
Date: 25 Feb 90 14:26:01 GMT
References: <38@asterix.stanford.edu>
Reply-To: davidsen@sixhub.UUCP (bill davidsen)
Organization: *IX Public Access UNIX, Schenectady NY
Lines: 23