EGLIF warnings
AliceGem opened this issue · 1 comments
AliceGem commented
Fixing EGLIF warnings during standard build of cereb module
alberto-antonietti commented
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:30:0:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h: In member function ‘double eglif_cond_alpha_multisyn::set_R2(double)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h:459:53: warning: no return statement in function returning non-void [-Wreturn-type]
inline double set_R2(const double v) { V_.R2 = v; }
[ 18%] Building CXX object CMakeFiles/cerebmodule_module.dir/eglif_cond_alpha_multisyn.cpp.o
In file included from /home/alberto/workspace/nest-simulator/b/include/nest/connection_manager.h:34:0,
from /home/alberto/workspace/nest-simulator/b/include/nest/kernel_manager.h:27,
from /home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:36:
^
In file included from /home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:46:0:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h: In member function ‘double eglif_cond_alpha_multisyn::set_R2(double)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h:459:53: warning: no return statement in function returning non-void [-Wreturn-type]
inline double set_R2(const double v) { V_.R2 = v; }
^
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp: In member function ‘virtual void eglif_cond_alpha_multisyn::update(const nest::Time&, long int, long int)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:802:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i<spikes_times_.size(); i++){
[ 56%] Building CXX object CMakeFiles/cerebmodule_lib.dir/cerebmodule.cpp.o
In file included from /home/alberto/workspace/CerebNEST/cerebmodule.cpp:30:0:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h: In member function ‘double eglif_cond_alpha_multisyn::set_R2(double)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h:459:53: warning: no return statement in function returning non-void [-Wreturn-type]
inline double set_R2(const double v) { V_.R2 = v; }
[ 68%] Building CXX object CMakeFiles/cerebmodule_lib.dir/eglif_cond_alpha_multisyn.cpp.o
In file included from /home/alberto/workspace/nest-simulator/b/include/nest/connection_manager.h:34:0,
from /home/alberto/workspace/nest-simulator/b/include/nest/kernel_manager.h:27,
from /home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:36:
^
In file included from /home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:46:0:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h: In member function ‘double eglif_cond_alpha_multisyn::set_R2(double)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.h:459:53: warning: no return statement in function returning non-void [-Wreturn-type]
inline double set_R2(const double v) { V_.R2 = v; }
^
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp: In member function ‘virtual void eglif_cond_alpha_multisyn::update(const nest::Time&, long int, long int)’:
/home/alberto/workspace/CerebNEST/eglif_cond_alpha_multisyn.cpp:802:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i<spikes_times_.size(); i++){