lundi 17 juillet 2017

Unable to include "random" header file in c++

I have gcc version 4.8.4, but when I add the header file #include <random>, it gives me error:

/usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #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 \

Aucun commentaire:

Enregistrer un commentaire