This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix missing use of -Werror when compiling files in c-familty directory
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Graham Stott <graham dot stott at btinternet dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 3 Jul 2013 14:54:16 +0000
- Subject: Re: Fix missing use of -Werror when compiling files in c-familty directory
- References: <1372861690 dot 74458 dot YahooMailNeo at web87402 dot mail dot ir2 dot yahoo dot com>
On Wed, 3 Jul 2013, Graham Stott wrote:
> Files in the c-family directory are being compiled during stage3 without
> -Werror and other warningb flags that are part of WARN_STRICT flags.
> Fixing this shows that array_notation_common.c generates unused
> variable warnings and will break the build after the apcth is applied.
>
>
> ChangeLog
> 03-07-2013 Graham Stott <graham.stott>
> * gcc/Makegfvile.in: Define c-family-warn. to WARN_STRICT.
OK with a properly formatted ChangeLog entry, once the warnings are fixed
of course.
2013-07-03 Graham Stott <graham.stott@btinternet.com>
* Makefile.in (c-family-warn): Define to $(WARN_STRICT).
--
Joseph S. Myers
joseph@codesourcery.com