bench - 2013-08-15

Hello:

I have been using cpplapack with gcc (version 4.6.3). To get it to work, I need to compile using -fpermissive option, otherwise the code wouldn't compile. Here are the warning/errors that are issued:

In file included from /opt/cpplapack-2010.03.27//include/cpplapack.h:170:0,
from ../src/ellipsoid_cpplapack.hpp:98,
from ../src/odebnd_gsl.hpp:24,
from main.cpp:6:
/opt/cpplapack-2010.03.27//include/_dsymatrix-/_dsymatrix.hpp:9:23: warning: reference ‘m’ cannot be declared ‘mutable’ [-fpermissive]
In file included from /opt/cpplapack-2010.03.27//include/cpplapack.h:172:0,
from ../src/ellipsoid_cpplapack.hpp:98,
from ../src/odebnd_gsl.hpp:24,
from main.cpp:6:
/opt/cpplapack-2010.03.27//include/_dssmatrix-/_dssmatrix.hpp:9:23: warning: reference ‘m’ cannot be declared ‘mutable’ [-fpermissive]
In file included from /opt/cpplapack-2010.03.27//include/cpplapack.h:186:0,
from ../src/ellipsoid_cpplapack.hpp:98,
from ../src/odebnd_gsl.hpp:24,
from main.cpp:6:
/opt/cpplapack-2010.03.27//include/_zhematrix-/_zhematrix.hpp:9:23: warning: reference ‘m’ cannot be declared ‘mutable’ [-fpermissive]
In file included from /opt/cpplapack-2010.03.27//include/cpplapack.h:188:0,
from ../src/ellipsoid_cpplapack.hpp:98,
from ../src/odebnd_gsl.hpp:24,
from main.cpp:6:
/opt/cpplapack-2010.03.27//include/_zhsmatrix-/_zhsmatrix.hpp:9:23: warning: reference ‘m’ cannot be declared ‘mutable’ [-fpermissive]

I was surprised to see that nobody reported this problem before. Please advise.

Thanks!
BC