Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Is this valid C? Date: Wed, 01 Mar 2017 12:28:17 -0800 Organization: None to speak of Lines: 23 Message-ID: References: <726ddfc8-83af-47db-8a18-08d921816e82@googlegroups.com> <3bee4191-6834-4b99-bf92-d8ca5b8b34e2@googlegroups.com> <68dc7263-0d48-432b-bc08-a6536fda6382@googlegroups.com> <3c762130-8395-45f8-bd74-18ffa98b007c@googlegroups.com> <3IKdnU56gPHH_CnFnZ2dnUU7-afNnZ2d@supernews.com> <22a3c409-e39b-4f55-94bb-6a478317659a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="40f2111bd31821bfebd41309549fe646"; logging-data="5755"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18rMM0GG1lj1otrCvyH/0y0" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:E3kpO9jcxqVJ+fgSfBQ2TZdoNdw= sha1:kWI/ISLM9BHy0wNuwr9ggCZ6Vt8= Xref: csiph.com comp.lang.c:105305 supercat@casperkitty.com writes: > On Wednesday, March 1, 2017 at 12:03:05 PM UTC-6, David Brown wrote: >> On 01/03/17 17:37, supercat wrote: >> Exactly /which/ behaviours might that be? Be short and to the point - I >> don't want to read a long essay. And I expect you to be able to show in >> the C89 standard a reference to where the behaviour is defined, and in >> the C99 standard a reference to showing that the behaviour is now undefined. > > The ability to write storage as one type and read it as any type which has > no trap representations, with no side-effect beyond yielding a possibly- > meaningless value. [77 lines deleted] I note the lack of any references to the C89/C90 or C99 standard. Such a reference would include a section number, probably a paragraph number, and preferably a copy-and-paste of the relevant text from the standard. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"