Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!mailrus!ames!killer!vector!rpp386!jfh From: jfh@rpp386.UUCP (John F. Haugh II) Newsgroups: comp.std.c Subject: Re: sizeof in #if? Message-ID: <4543@rpp386.UUCP> Date: 28 Jul 88 05:32:34 GMT References: <705@bnr-rsc.UUCP> <11556@steinmetz.ge.com> <11637@steinmetz.ge.com> <11654@steinmetz.ge.com> <12685@mimsy.UUCP> Reply-To: jfh@rpp386.UUCP (The Beach Bum) Organization: Big "D" Home for Wayward Hackers Lines: 25 In article <12685@mimsy.UUCP> chris@mimsy.UUCP (Chris Torek) writes: |>In article <12674@mimsy.UUCP> Chris wrote [a comment about sizeof being a | keyword, and that footnote 74 points out that keywords do not yet exist]. [ and chris then further agrees that sizeof is not a keyword, but an operator instead ] | |>As such I would expect that it would function as well in #if as do +, |>-, etc. Perhaps this should be clarified again, as it was in the 2nd draft. | |I agree with the latter sentiment, although I see this as a relatively |minor issue. (There are things that the draft seems to say that I find |even less obvious than this---e.g., Arthur Olson's observations on reserved |names.) sizeof has nothing to operate on. there is no means of specifying the datatype or variable whose size is to be determined. - john. -- John F. Haugh II +--------- Cute Chocolate Quote --------- HASA, "S" Division | "USENET should not be confused with UUCP: killer!rpp386!jfh | something that matters, like CHOCOLATE" DOMAIN: jfh@rpp386.uucp | -- with my apologizes