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]
Other format: [Raw text]

Re: Putting C++ code into gcc front end


Hi,

On Tue, 4 Mar 2003, Zack Weinberg wrote:

> > How practical would it be to have '-ansi -pedantic' supplied at stage2?
> > Could we do it on a per front end basis? I suspect all but one of cp's
> > gnuisms is by accident.
>
> In principle you can just change the line setting "cp-warn" in
> cp/Make-lang.in to apply whichever options you want: probably
> -pedantic -Wno-long-long.  (-ansi is a bad idea, it causes system
> headers to change their definition set.)

I am strictly against compiling stage2 with different flags than stage3.
(substitute stage2 and stage3 with the last two to-be-compared stages in
case we go to n-stage boostrap).  Even if those flags should not make the
code different, they might.


Ciao,
Michael.


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