Вот есть строчка
const float gamma = 1.0;
Вылетает ошибка
src/../include/params.hpp:11:13: error: ‘const float gamma’ redeclared as different kind of symbol
const float gamma = 1.0;
^~~~~
In file included from /usr/include/features.h:364:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/os_defines.h:39,
from /usr/include/x86_64-linux-gnu/c++/6/bits/c++config.h:507,
from /usr/include/c++/6/cstdio:41,
from src/four.cpp:1:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:274:1: note: previous declaration ‘double gamma(double)’
__MATHCALL (gamma,, (_Mdouble_));
^
Что тут можно сделать? Кроме как переименовать свою переменную.