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: Sun, 19 Feb 2017 07:21:58 -0800 Organization: None to speak of Lines: 26 Message-ID: References: <20170219094101.dc049e830e40645da442d57f@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="13068d66eab4ac340fa1365bf7a469c0"; logging-data="31254"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WvRFmoZ+itiExvA+ztMxk" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:NCQeDOEqqmI+P1Ve792fAmduen8= sha1:l06KJl8pigNbfuOonHdY3y0KzZ4= Xref: csiph.com comp.lang.c:104192 Richard Heathfield writes: > On 19/02/17 08:41, GOTHIER Nathan wrote: >> On Sat, 18 Feb 2017 19:20:43 -0800 >> Keith Thompson wrote: >> >>> The _Alignof case is an error in the N1570 draft, corrected in the >>> published ISO C11 standard. The _Alignof operator can only be applied >>> to a parenthesized type name (like sizeof), not to an expresion (unlike >>> sizeof). The reasons for this difference are not clear; I asked Larry >>> Jones, a committee member, and he didn't know. >> >> Did he know the C language before taking the money? :-D > > Larry Jones's knowledge of the C language is encyclopaedic, and in all > likelihood far superior to yours. It is certainly vastly superior to > mine. > > I realise you were trying to make a joke, but it wasn't a terribly good one. Especially since committee members aren't paid. -- 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"