In file included from prog.cpp:4:
In file included from /usr/bin/../lib/gcc/i586-linux-gnu/4.9/../../../../include/c++/4.9/random:35:
/usr/bin/../lib/gcc/i586-linux-gnu/4.9/../../../../include/c++/4.9/bits/c++0x_warning.h:32:2: error: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
prog.cpp:23:10: error: no type named 'random_device' in namespace 'std'
std::random_device rd;
~~~~~^
prog.cpp:24:17: error: expected ';' after expression
std::mt19937 g(rd());
^
;
prog.cpp:24:10: error: no member named 'mt19937' in namespace 'std'
std::mt19937 g(rd());
~~~~~^
prog.cpp:25:10: error: no member named 'shuffle' in namespace 'std'
std::shuffle(tabNom.begin(), tabNom.end(), g);
~~~~~^
prog.cpp:25:48: error: use of undeclared identifier 'g'
std::shuffle(tabNom.begin(), tabNom.end(), g);
^
prog.cpp:27:9: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
auto j = (i+1)%(tabNom.size());
^
1 warning and 6 errors generated.