This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc-in-cxx] Trunk fails to bootstrap with --enable-build-with-cxx


On 08/03/2009 04:09 PM, Pedro LamarÃo wrote:
Current trunk (revision 150381) fails to bootstrap with the following
configuration:

.../../trunk/libcpp/../include/libiberty.h:106: error: new declaration
âchar* basename(const char*)â
/usr/include/string.h:601: error: ambiguates old declaration âconst
char* basename(const char*)â

The problem is that AC_CHECK_DECLS gets confused by overloaded functions, and glibc 2.10 has overloaded declarations of basename and some other string functions for const-correctness.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]