This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

random_sample: where did it go?



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]