Jerry Quinn writes:
> Index: include/libiberty.h
> ===
> --- include/libiberty.h (revision 149964)
> +++ include/libiberty.h (working copy)
> @@ -100,7 +100,7 @@
> declaration without arguments. If it is 0, we checke
Ralf Wildenhues wrote:
> * Pedro LamarÃo wrote on Thu, Aug 27, 2009 at 12:24:07AM CEST:
> > 2009/8/26 Ralf Wildenhues:
> >
> > >> 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 fun
2009/9/10 Ralf Wildenhues :
> * Pedro Lamarão wrote on Thu, Aug 27, 2009 at 12:24:07AM CEST:
>> 2009/8/26 Ralf Wildenhues:
>> I think this is new in glibc 2.10, for the reasons given by Jason Merrill
>> above.
>> I've discussed this problem with Jerry Quinn before, and he had a
>> tentative patch
* Pedro Lamarão wrote on Thu, Aug 27, 2009 at 12:24:07AM CEST:
> 2009/8/26 Ralf Wildenhues:
>
> >> >.../../trunk/libcpp/../include/libiberty.h:106: error: new declaration
> >> >‘char* basename(const char*)’
> >> >/usr/include/string.h:601: error: ambiguates old declaration ‘const
> >> >char* basen
On 08/26/2009 05:36 PM, Ralf Wildenhues wrote:
* Jason Merrill wrote on Wed, Aug 26, 2009 at 10:32:05PM CEST:
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.
2009/8/26 Ralf Wildenhues :
>> >.../../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 b
* Jason Merrill wrote on Wed, Aug 26, 2009 at 10:32:05PM CEST:
> 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(co
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 ‘c
Current trunk (revision 150381) fails to bootstrap with the following
configuration:
[pedro.lama...@larissa trunk-obj]$ ../trunk/configure
--prefix=/opt/gcc-4.5 --enable-bootstrap --enable-shared
--enable-threads=posix --enable-checking --with-system-zlib
--enable-__cxa_atexit --disable-libunwind-