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"


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

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