[Biosig-general] compilation of biosig4c++
Brought to you by:
schloegl
From: Borís B. <bor...@un...> - 2009-04-29 18:21:11
|
Dear all, I am trying to compile biosig4c++ (for later use with python), and I have trouble installing and compiling it. When I run "make install", I have an error message : biosig-dev.h:225: warning: division by zero in ‘0.0 / 0.’ biosig-dev.h:226: warning: division by zero in ‘1.0e+0 / 0.’ and, indeed, looking into the code, these two lines appear: const double NaN=0.0/0.0; const double INF=1.0/0.0; which indeed sound problematic. I am not an expert of C++, and maybe some compiler accept a division by 0, but apparently mine is not. I am using gcc 4.1 on ubuntu. Is it a gcc version problem? Do you have any ideas ?? Thanks in advance, B. -- Borís BURLE Laboratoire de Neurobiologie de la Cognition CNRS et Université de Provence tel: (+33) 4 88 57 68 79 fax: (+33) 4 88 57 68 72 web page: http://www.up.univ-mrs.fr/lnc/ACT/act-fr.html |