[PATCH} fix --enable-build-with-cxx
Jack Howarth
howarth@bromo.med.uc.edu
Thu May 5 12:56:00 GMT 2011
On Thu, May 05, 2011 at 02:02:19PM +0200, Eric Botcazou wrote:
> > Currently the bootstrap with --enable-build-with-cxx is broken due to
> > compiler errors of the form "error: converting 'false' to pointer type
> > 'varpool_node*' [-Werror=conversion-null]". The attached patch changes
> > these instances of false to NULL and restores the --enable-build-with-cxx
> > bootstrap. Tested on x86_64-apple-darwin10. Okay for gcc trunk?
>
> http://gcc.gnu.org/ml/gcc-patches/2011-05/msg00045.html has the first hunk so
> you should credit Dmitry.
>
> --
> Eric Botcazou
Eric,
I didn't see that patch so just reduce mine down to the change for change
for gcc/varpool.c. Odd that the gcc/varpool.c issue isn't seen on other targets
besides darwin apparently.
Jack
More information about the Gcc-patches
mailing list