This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
random_sample: where did it go?
- From: Igor Markov <imarkov at eecs dot umich dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 19 Aug 2002 23:13:53 -0400
- Subject: random_sample: where did it go?
- Organization: U. of Michigan, EECS
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