nburrus/nestk — Issue #4: reference 'm_cost_function' cannot be declared 'mutable' [-fpermissive]
Author: herlock
Created: 2011-11-03 09:04:09+00:00
State: open

While compiling nest on a Fedora 15, I have the following error :

/home/herlock/Downloads/nburrus-nestk-fcd2984/ntk/numeric/levenberg_marquart_minimizer.cpp:66:25: error: reference ‘m_cost_function’ cannot be declared ‘mutable’ [-fpermissive]
[ 62%] Building CXX object ntk/CMakeFiles/nestk.dir/numeric/differential_evolution_solver.o
[ 63%] Building CXX object ntk/CMakeFiles/nestk.dir/numeric/differential_evolution_minimizer.o
make[2]: *** [ntk/CMakeFiles/nestk.dir/numeric/levenberg_marquart_minimizer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [ntk/CMakeFiles/nestk.dir/all] Error 2
make: *** [all] Error 2

Gcc version : cc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)