"E. Robert Tisdale" <> writes:
> Keith Thompson wrote:
>
> > I've removed comp.std.c and gnu.gcc.help from the Newsgroups header,
> > leaving just comp.lang.c.
>
> I don't understand why you did this.
> It seems to me that your interpretation of the standard
> would benefit from some scrutiny in the comp.std.c newsgroup.
> It seems to me that your claim that there is a bug in the GNU C compiler
> should be discussed in the gnu.gcc.help newsgroup.
First, because I was annoyed that you had added these newsgroups
without bothering to mention it in the body of your message.
Second, I deleted comp.std.c because I felt that this is more a
discussion about the language than about the standard (though I'm not
as certain of that; see below), and I deleted gnu.gcc.help because gcc
is just one of a number of compilers we're discussion, it's not yet
clear to me that gcc has a bug, and gnu.gcc.help probably isn't the
proper forum for gcc bug reports anyway.
As for comp.std.c, I've started a new thread there, subject "Empty
macro arguments", since I now think that there may be an ambiguity in
the wording in the standard itself. No, I haven't been entirely
consistent about whether this discussion belongs in comp.std.c, mostly
because I've seen new issues as the discussion has progressed.
[...]
> > If you have some basis for assuming that
> > the compilers that accept your program are correct, please say so.
>
> Wait a minute. Why were you assuming that
> the compilers that accepted my program were incorrect?
At this point, I'm not assuming anything. When I wrote the above, I
assumed that the compilers were incorrect because they violated my
interpretation of the wording of the standard. At this point, I
believe that (a) the authors of the standard intended your example to
be valid, but (b) they failed to clearly express this intent in the
normative wording of the standard. See the new thread in comp.std.c
for more details.
[...]
> This is what GNU says about C preprocessor macro arguments:
[...]
> The GNU documentation
> does *not* say anything about this being an "extension".
> Evidently, they believe that it is standard.
Ok, I believe that the authors of gcc believe that it's standard.
They're smart folks; they could well be right. What do *you* think,
and can you support your opinion by citing the normative wording of
the standard?
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
Schroedinger does Shakespeare: "To be *and* not to be"