In gcc , a strange error occurs when I try to compile this code. There is no such thing in clang . What is the problem?
#error This is an ISO C ++ 2011 standard. This support must be enabled with the -std = c ++ 11 or -std = gnu ++ 11 compiler options.
#include <random> int main() { int x; //Почему тут ошибка??/ x = 0x42; // <-- }
gccnor eveng++give me such an error. How do you compile? - andreymal<random>is from c ++ 11, therefore it requires :) - αλεχολυτ