Protect __STRING_INLINE in s390

schwidefsky@de.ibm.com schwidefsky@de.ibm.com
Mon Mar 12 10:13:00 GMT 2001


>>
>> I got this warning on S390 and fixed it with the appended patch:
>> In file included from ../string/string.h:356,
>>                  from ../include/string.h:49,
>>                  from string-inlines.c:28:
>> ../sysdeps/s390/bits/string.h:37: warning: `__STRING_INLINE' redefined
>>
>> I'm committing the patch now,
>
>The patch is wrong. With this patch, glibc will not compile any
>longer on s390. You get a lot of errors about duplicate string
>symbols.

He is right. Although I don't understand it, how can an #ifndef protection
of __STRING_INLINE change anything ?

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com




More information about the Libc-hacker mailing list