This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc svn build fails due to -Werror; how to set option
- From: Ian Lance Taylor <iant at google dot com>
- To: Tim Prince <n8tm at aol dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sat, 31 Aug 2013 10:09:17 -0700
- Subject: Re: gcc svn build fails due to -Werror; how to set option
- Authentication-results: sourceware.org; auth=none
- References: <52221A9C dot 7060008 at aol dot com>
On Sat, Aug 31, 2013 at 9:32 AM, Tim Prince <n8tm@aol.com> wrote:
> In attempts to build the gomp_4.0 branch from svn (on CentOS 6.2), I find
> that I must remove the -Werror option in STRICT_WARN. I don't find
> documented how this should be done (in configure ?). I can get past it by
> repeatedly modifying gcc/Makefile, but this seems wrong.
> I have little interest at this stage in finding out why it triggers
> -Werror=maybe-uninitialized in typeck.c; I'd only like to build the gcc to
> see if it does anything interesting with OpenMP 4.
Try passing --disable-werror when you run configure.
Ian