On 2010-01-26, jacob navia <> wrote:
> Richard Heathfield a écrit :
>> Yes. Most C compilers, however, are not C99 compilers.
> This is yet another lie.
No, it's not.
> Please name one compiler that doesn't
> accept // comments by default.
He didn't say they didn't accept // comments by default, he said they
were not C99 compilers.
I think the point he's making is that, for most compilers, there is no mode
where they both genuinely and plausibly claim standards conformance, and
accept // comments, because the only way they could do that would be to
have full C99 support. Since they don't, their C99 mode isn't going to
claim conformance, so you're stuck with their C89 mode, which won't take //
comments.
Now, that may not be totally responsive to your point, because it's pretty
easy to get most compilers into a mode where they accept // comments, but
it is true that doing so will often put them into a mode where some other
reasonably normal stuff gets broken.
-s
--
Copyright 2010, all wrongs reversed. Peter Seebach /
usenet-
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!