random_sample: where did it go?

Igor Markov imarkov@eecs.umich.edu
Mon Aug 19 20:13:00 GMT 2002


   Here's another piece-o-code that works with 3.0 but not with 3.1

/n/gagarin/z/imarkov/devel/ /usr/bin/g++-3.0 testR.cxx
/n/gagarin/z/imarkov/devel/ /usr/bin/g++-3.1 testR.cxx
testR.cxx:2: `random_sample' not declared
/n/gagarin/z/imarkov/devel/ cat testR.cxx
#include <algorithm>
using std::random_sample;
int main(){}
/n/gagarin/z/imarkov/devel/ /usr/bin/g++-3.1 testR1.cxx
testR1.cxx:2: `random_sample' not declared
/n/gagarin/z/imarkov/devel/ cat testR1.cxx
#include <algorithm>
using __gnu_cxx::random_sample;
int main(){}
/n/gagarin/z/imarkov/devel/ uname -a
Linux gagarin.eecs.umich.edu 2.4.18 #6 SMP Mon Jul 15 12:00:46 EDT 2002 
i686 unknown
/n/gagarin/z/imarkov/devel/
--
   Igor L. Markov         (734) 936-7829       EECS 2211
   http://www.eecs.umich.edu/~imarkov





More information about the Gcc mailing list