Still a lot of C++ files getting "fixed"

Mark Mitchell mark@codesourcery.com
Tue Jan 25 12:13:00 GMT 2000


>>>>> "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


More information about the Gcc-bugs mailing list