gcc svn build fails due to -Werror; how to set option

Ian Lance Taylor iant@google.com
Sat Aug 31 18:29:00 GMT 2013

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.


More information about the Gcc-help mailing list