[PATCH] Fix up a libstdc++ testsuite regression

Jakub Jelinek jakub@redhat.com
Wed Jan 27 18:54:00 GMT 2016


Hi!

I've noticed recent
UNRESOLVED: libstdc++-prettyprinters/whatis.cc compilation failed to produce executable
regression and I bet it is caused by the <algorithm> changes where it no
longer includes <random>.  Tested on x86_64-linux, ok for trunk?

2016-01-27  Jakub Jelinek  <jakub@redhat.com>

	* testsuite/libstdc++-prettyprinters/whatis.cc: Include <random>.

--- libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc	(revision 232881)
+++ libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc	(working copy)
@@ -33,6 +33,7 @@
 #include <set>
 #include <unordered_map>
 #include <unordered_set>
+#include <random>
 
 template<class T>
 void

	Jakub



More information about the Libstdc++ mailing list