This is the mail archive of the gcc@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: agressive fixincludes


Per Bothner <per@bothner.com> writes:

| "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu> writes:
| 
| > IIRC, we fix the headers because -ansi stops gcc from handling //
| > comments (?) and thus no platform with // in system headers would work
| > with -ansi.
| 
| How common is that this actually does anything useful, even with
| -ansi?  I.e. does it really happen that that people #include header
| files containing //-comments in C programs?

I can't really tell, but for the record C99 allows //-comments.

-- Gaby


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