I am compiling with clang++ -pedantic -Werror -std=c++11 C++11 does not support variable length arrays and so the compiler warns when they are used. g++ supports the -Wno-vla option to stop it from doing this. This doesn't appear to work in clang++, is there an alternative that does work?
Aucun commentaire:
Enregistrer un commentaire