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"


 > From: Bruce Korb <bkorb@sco.COM>
 > 
 > Actually, there is another possibility:
 > 
 >   Only strip C++ comments from files found
 >   in a limited set of directories.

IIRC, we're doing the C++ comments fix so that -ansi will work with
system vendor headers with // in them, right?

Well, how about instead we change cpp to always grok // in system
headers, even with -ansi?  Then we can avoid this fix altogether and
change even fewer header files than if we got the regexp "right".  (I
quoted "right" because I don't think we can ever really do this 100%.)

		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions

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