Boost logo

Boost :

From: Glenn Schrader (gschrad_at_[hidden])
Date: 2006-12-14 17:16:32


I had a problem compiling boost on a sparc solaris 2.8 platform. After a
bit of digging the change below (notice the end of the #if). The code in
the #else calls strerror_r but solaris doesn't have it.

Is this the correct place to send this sort of thing or is there a more
formal bug tracking system?

Thanks,

-glenn

BEFORE:

  std::string errno_md( const error_code & ec )
  {
# if defined(BOOST_WINDOWS_API) || defined(__hpux) || (defined(__linux)
&& !defined(__USE_XOPEN2K))
    const char * c_str = std::strerror( ec.value() );
    return std::string( c_str ? c_str : "EINVAL" );
# else
    char buf[64];

AFTER:

  std::string errno_md( const error_code & ec )
  {
# if defined(BOOST_WINDOWS_API) || defined(__hpux) || (defined(__linux)
&& !defined(__USE_XOPEN2K)) || defined(__sun)
    const char * c_str = std::strerror( ec.value() );
    return std::string( c_str ? c_str : "EINVAL" );
# else
    char buf[64];


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk