gold patch committed: Check decls in C, not C++
Ian Lance Taylor
iant@google.com
Tue Jun 23 15:56:00 GMT 2009
More information about the Binutils mailing list
Tue Jun 23 15:56:00 GMT 2009
- Previous message (by thread): gold patch committed: Don't crash on empty warning section
- Next message (by thread): [RFC]: .eh_frame section in mingw32 executables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
For AC_CHECK_DECLS autoconf generates tests which simply assign the function pointer to a variable. When compiling with C++, this fails if the function is overloaded. The current version of glibc does in fact overload some functions when compiling with C++. This causes confusion over whether basename is defined. I committed this patch to gold to try to avoid this problem by running AC_CHECK_DECLS using C rather than C++. Ian 2009-06-23 Ian Lance Taylor <iant@google.com> * configure.ac: Call AC_CHECK_DECLS using C, not C++. * configure: Rebuild. -------------- next part -------------- A non-text attachment was scrubbed... Name: foo.patch Type: text/x-patch Size: 1137 bytes Desc: Check decls in C URL: <https://sourceware.org/pipermail/binutils/attachments/20090623/8cad5b79/attachment.bin>
- Previous message (by thread): gold patch committed: Don't crash on empty warning section
- Next message (by thread): [RFC]: .eh_frame section in mingw32 executables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list