This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]