This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [CONFIGUREY PATCH]: place -Wcast-qual and -Wc++-compat under -Werror
- From: Ian Lance Taylor <iant at google dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, dnovillo at google dot com, gdr at integrable-solutions dot net, richard dot guenther at gmail dot com
- Date: Sat, 28 Jun 2008 20:48:09 -0700
- Subject: Re: [CONFIGUREY PATCH]: place -Wcast-qual and -Wc++-compat under -Werror
- References: <Pine.GSO.4.58.0806262057540.25823@caipclassic.rutgers.edu>
"Kaveh R. GHAZI" <ghazi@caip.rutgers.edu> writes:
> 2008-06-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * Makefile.in (CXX_COMPAT_WARN, cxx_compat_warn): Delete.
> (bitmap.o-warn, dominance.o-warn): New.
> * configure.ac (cxx_compat_warn): Delete.
> (loose_warn): Add -Wcast-qual and -Wc++-compat.
> * system.h: Remove #pragma diagnostic for -Wcast-qual and
> -Wc++-compat.
> * configure: Regenerate.
>
> cp:
> * Make-lang.in (cp-warn): Delete $(CXX_COMPAT_WARN).
>
> java:
> * Make-lang.in (java/jcf-io.o-warn): New.
This is OK when it bootstraps without any other patches.
Thanks.
Ian