Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!kddlab!titcca!sragwa!wsgw!socslgw!diamond From: diamond@csl.sony.JUNET (Norman Diamond) Newsgroups: comp.lang.c Subject: Re: Is this a bug in some C compilers? Message-ID: <10593@riks.csl.sony.JUNET> Date: 24 Jul 89 02:20:00 GMT References: <268@nlgvax.UUCP> <10583@smoke.BRL.MIL> Reply-To: diamond@riks. (Norman Diamond) Organization: Sony Computer Science Laboratory Inc., Tokyo, Japan Lines: 20 In article <268@nlgvax.UUCP> suhas@nlgvax.UUCP () writes: >>The usage a.b when a is not a structure [or union] is allowed. In article <10583@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes: >Not any more it isn't. As Doug Gwyn has pointed out many times, compilers are permitted to accept additional kinds of programs besides those that conform to ANSI C. The "weard" usage a.b (where a is not a structure or union) is non-conforming, but might still be allowed by the vast majority of compilers. -- -- Norman Diamond, Sony Computer Science Lab (diamond%csl.sony.jp@relay.cs.net) The above opinions are inherited by your machine's init process (pid 1), after being disowned and orphaned. However, if you see this at Waterloo or Anterior, then their administrators must have approved of these opinions.