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: C++ Warnings on trunk


On Tue, 8 Jul 2008, Kaveh R. Ghazi wrote:

> From: "NightStrike" <nightstrike@gmail.com>
>
> > On 7/8/08, Ian Lance Taylor <iant@google.com> wrote:
> >> NightStrike <nightstrike@gmail.com> writes:
> >>
> >> > I was under the impression that these would be cleaned up before the
> >> > -W options were applied to the trunk.
> >>
> >> It's pretty hard to clean up all the warnings for every possible
> >> target.  Also these are only warnings--this code is not compiled with
> >> -Werror.
> >>
> >> In this case, I argue that this code is always compiled with a C
> >> compiler, and should never be compiled by a C++ compiler.  Therefore,
> >> I believe it is wrong for this code to be compiled with the
> >> -Wc++-compat warning enabled.  This should be fixed somewhere in the
> >> configure script and/or Makefile.
> >
> > Is someone currently taking care of that?
>
> Yeah, it's on my list.

http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00772.html



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