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: austern at sgi dot com, austern at isolde dot engr dot sgi dot com
- Subject: Re: Still a lot of C++ files getting "fixed"
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 25 Jan 2000 12:14:07 -0800
- Cc: ghazi at caip dot rutgers dot edu, autogen at linuxbox dot com, gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <20000125115655W.mitchell@codesourcery.com><mark@codesourcery.com><10001251204.ZM105426@isolde.engr.sgi.com>
>>>>> "Matt" == Matt Austern <austern@isolde.engr.sgi.com> writes:
Matt> 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.
Matt> x = y //**/z ;
Thanks for reminding me.
Matt> I tend to think that anyone who puts this kind of garbage in
Matt> a header deserves what they get, of course.
True. But, -ansi is specifically documented to be pedantically ANSI;
that's its whole purpose in life. So, either we should can it, or
make sure it does what it's there fore.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com