PATCH to run autoconf tests with C++ compiler
Jason Merrill
jason@redhat.com
Fri May 22 07:45:00 GMT 2015
My earlier patch to compile stage 1 with -std=c++98 ran into trouble on
FreeBSD, where that flag suppresses declaration of C99 library functions
like strtoull. I was surprised that configure was seeing the
declaration, but discovered that this was because configure was using
the C compiler rather than the C++ compiler. This patch changes GCC
configury to always use C++, and to use the normal AC_CHECK_DECLS for
overloaded functions.
OK for trunk?
Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conf-cxx.patch
Type: text/x-patch
Size: 66053 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150522/96cb7664/attachment.bin>
More information about the Gcc-patches
mailing list