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

Reply via email to