[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: avoid gcc warning
From: |
Bruno Haible |
Subject: |
Re: error: avoid gcc warning |
Date: |
Sun, 19 Jun 2011 00:08:30 +0200 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote on 2011-06-07:
> > It's because /usr/include/string.h on this system does not always declare
> > strerror_r (only if _REENTRANT or _THREAD_SAFE is defined). This fixes it
> > (without requiring the 'strerror_r' module).
>
> This raises an interesting question. The 'error' module should probably
> depend on strerror_r, not strerror.
But given that the 'strerror_r' module requires replacement code on many more
platforms, including glibc platforms, it feels like overkill. The current
situation is fine, IMO.
Bruno
--
In memoriam Mona Mahmudnizhad <http://en.wikipedia.org/wiki/Mona_Mahmudnizhad>