- Code: Select all
#include <lapacke.h>
int main() {}
It works fine when I compile with:
$ g++ -c test_lapack.cpp
but if I add the c++11 flag:
$ g++ -std=c++11 -c test_lapack.cpp
I get a massive amount of errors (see attachment to this post). I'm guessing this is because things in c++11 got more strict and now things that used to be fine in c++03 or c++98 are now deemed unsafe or deprecated. I don't know if I should be contacting the GNU gcc/g++ people or if this is something in the domain of LAPACK developers, or maybe there is an additional flag I can add that will suppress these errors?

