Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: double free Date: Tue, 12 Jul 2016 09:35:30 -0700 Organization: None to speak of Lines: 23 Message-ID: References: <57837892.8808984@news.xs4all.nl> <481f30b4-acb3-4445-92b3-c403dc3e51f7@googlegroups.com> <8760sc2aiz.fsf@bsb.me.uk> <87twfv26cv.fsf@bsb.me.uk> <87bn2317dl.fsf@bsb.me.uk> <87shvfyrq6.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="945944de09706c9b4e29b53c9d2efdc2"; logging-data="10518"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bBCSiOXu+gq+uL43wQALx" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:6btWuozYal9jysSVMRY0/lgzo+Y= sha1:oaNIB1Mmuj8O94rIp4uQ6YTbR6I= Xref: csiph.com comp.lang.c:90286 BartC writes: [...] > If it wasn't for the quirk that sometimes (either for types or > expressions, whichever one it is) parentheses are mandatory, then the > language would just have insisted on them and there wouldn't be all this > fuss. It's for expressions that the parentheses are not required. The operand of the sizeof operator is either a unary-expression or a parenthesized type name. (You can use parentheses with the expression, but then they're part of the operand, not part of the syntax of sizeof.) You appear to have tremendous difficulty learning things like this, even after they're explained multiple times. I don't believe you really have such difficulty. I think you're just pretending for the sake of making a strawman argument. It's getting old. -- 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"