This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libatomic -Werror problem
On 2012-06-15 15:05, Steve Ellcey wrote:
> This causes the libatomic build to fail because it is compiled
> with -Werror which is added in the configure script. None of the
> other libraries seem to be built with -Werror. Can we take this out?
> Or should it be replaced by AC_PROG_CPP_WERROR? I looked at the
> definition of AC_PROG_CPP_WERROR in config/acx.m4 and I see it sets
> ac_c_preproc_warn_flag to 'yes' but it is not clear to me what affect
> that has in the configure script, if any.
>
> I would be happy to submit a patch for this, I am just not sure what
> the right fix is.
I don't have any strong feelings on the subject. I'd be ok with any
of the above changes that works.
r~