Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 11:12:28


Hi,

I propose following change in random_test.cpp to be able to
compile it with Solaris Forte C++ 6 u.1

Gennadiy.

cvs diff random_test.cpp
Index: random_test.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/random/random_test.cpp,v
retrieving revision 1.17
diff -r1.17 random_test.cpp
66c66
< #if !defined(BOOST_NO_INT64_T) && !defined
(BOOST_NO_INTEGRAL_INT64_T)

---
> #if !defined(BOOST_NO_INT64_T) && !defined
(BOOST_NO_INTEGRAL_INT64_T) && !defined(__SUNPRO_CC)
185c185
< #if !defined(BOOST_NO_INT64_T) && !defined
(BOOST_NO_INTEGRAL_INT64_T)
---
> #if !defined(BOOST_NO_INT64_T) && !defined
(BOOST_NO_INTEGRAL_INT64_T) && !defined(__SUNPRO_CC)
206c206
<   mt.seed(boost::uint32_t(i));
---
>   mt.seed_value(boost::uint32_t(i));

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