|
Boost : |
From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-12-18 06:00:01
On Mon, 18 Dec 2006 10:51:52 -0000, "Martin Bonner"
<martin.bonner_at_[hidden]> said:
> From: Oliver.Kowalke_at_[hidden]
>
> > With autoconfig the build process can check if strerror_r is avaliable
> > and provide strerror as fall back.
>
> Autoconfig can check if strerror_r is available ON THE BUILD MACHINE.
> It CANNOT tell whether it will be available on the target machines.
Unless I'm missing something, isn't this discussion only about Solaris?
The Solaris man pages (I checked 7 and 10) say that strerror is MT-safe,
so wouldn't it be simpler to always use that function when building for
that platform?
Solaris 7: http://docs.sun.com/app/docs/doc/805-3175/6j31empgq?a=view
Solaris 10: http://docs.sun.com/app/docs/doc/816-5168/6mbb3hrti?a=view
Cheers,
Chris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk