This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Still a lot of C++ files getting "fixed"
- To: Mark Mitchell <mark at codesourcery dot com>, ghazi at caip dot rutgers dot edu
- Subject: Re: Still a lot of C++ files getting "fixed"
- From: "Matt Austern" <austern at isolde dot engr dot sgi dot com>
- Date: Tue, 25 Jan 2000 12:04:09 -0800
- Cc: autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org
- References: <200001251938.OAA12604@caip.rutgers.edu> <20000125115655W.mitchell@codesourcery.com>
- Reply-to: austern at sgi dot com
On Jan 25, 11:56am, Mark Mitchell wrote:
> Kaveh> IIRC, we're doing the C++ comments fix so that -ansi will
> Kaveh> work with system vendor headers with // in them, right?
>
> My recollection is that this can change the meaning of some ANSI/ISO C
> programs. But, I don't remember how, so I could be wrong.
x = y //**/z
;
I tend to think that anyone who puts this kind of garbage in a header
deserves what they get, of course. Particularly since // comments are
part of the C99 standard, and since they're a common extension even in
C89 compilers.
--Matt