Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-11-01 13:06:26


John Maddock <john <at> johnmaddock.co.uk> writes:

>
> Now that the Sun regression tests have started up again (with thanks to Noel
> Belcourt and Sandia), Boost.Test is failing to build on that platform: see
> http://tinyurl.com/ywm486 for an example but there are probably other errors
> as well.
>
> I wonder if this is as simple as missing the correct includes? Certainly to
> use ::perror you would need <stdio.h> rather than <cstdio> (as the latter
> only defines std::perror). I wonder if this is the cause of not finding
> snprintf as well?

Can you add

#if defined(__SUNPRO_CC)
# include <stdio.h>
#endif

in BOOST_SUN_BASED_DEBUG section of debug.ipp configuration. I can do it later
today.

Gennadiy


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