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, 2000, Mark Mitchell <mark@codesourcery.com> wrote:

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

But it's ok to simply emit a warning and process `//.*$' as a comment.
I bet this would be much more beneficial, in the case of system
headers, than trying to be comply with an old ANSI-C standard.  With
the warning, anybody that's bitten by the problem will quickly figure
out how to get it fixed.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


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