Boost logo

Boost :

From: Synge Todo (wistaria_at_[hidden])
Date: 2004-07-13 00:18:34


Dear Boosters,

I'm sending a small patch for Boost.Random to compile by using
gcc-3.4.1 (on Linux Fedora Core 2).
Could somebody apply this patch? Thank you in advance.

Best regards,
Synge Todo

diff -crN boost-20040713.orig/boost/random/lagged_fibonacci.hpp boost-20040713/boost/random/lagged_fibonacci.hpp
*** boost-20040713.orig/boost/random/lagged_fibonacci.hpp Fri Jul 2 10:21:32 2004
--- boost-20040713/boost/random/lagged_fibonacci.hpp Tue Jul 13 14:10:44 2004
***************
*** 23,28 ****
--- 23,29 ----
  
  #include <iostream>
  #include <algorithm> // std::max
+ #include <cmath>
  #include <iterator>
  #include <boost/config.hpp>
  #include <boost/limits.hpp>
diff -crN boost-20040713.orig/boost/random/subtract_with_carry.hpp boost-20040713/boost/random/subtract_with_carry.hpp
*** boost-20040713.orig/boost/random/subtract_with_carry.hpp Fri Feb 27 03:26:54 2004
--- boost-20040713/boost/random/subtract_with_carry.hpp Tue Jul 13 14:10:56 2004
***************
*** 23,28 ****
--- 23,29 ----
  
  #include <iostream>
  #include <algorithm> // std::equal
+ #include <cmath>
  #include <stdexcept>
  #include <boost/config.hpp>
  #include <boost/limits.hpp>


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