You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS:
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: ClockDivider
Description: Compiler Error
Steps to reproduce: make
This is on Centos7 with G++ 4.8.5
g++ -I"." -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -std=c++11 -c -o build/src/ClockDivider.cpp.o src/ClockDivider.cpp
In file included from src/ClockDivider.cpp:3:0:
./utils/Algorithm.hpp: In instantiation of ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’:
./utils/Algorithm.hpp:16:42: required from ‘constexpr const T& clamp(const T&, const T&, const T&) [with T = float]’
src/ClockDivider.cpp:190:141: required from here
./utils/Algorithm.hpp:11:1: error: body of constexpr function ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’ not a return-statement
}
^
make: *** [build/src/ClockDivider.cpp.o] Error 1
The text was updated successfully, but these errors were encountered:
OS:
Simple module pack version: (git SHA1 if builded from sources)
Module concerned: ClockDivider
Description: Compiler Error
Steps to reproduce: make
This is on Centos7 with G++ 4.8.5
g++ -I"." -fPIC -I../../include -I../../dep/include -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -std=c++11 -c -o build/src/ClockDivider.cpp.o src/ClockDivider.cpp
In file included from src/ClockDivider.cpp:3:0:
./utils/Algorithm.hpp: In instantiation of ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’:
./utils/Algorithm.hpp:16:42: required from ‘constexpr const T& clamp(const T&, const T&, const T&) [with T = float]’
src/ClockDivider.cpp:190:141: required from here
./utils/Algorithm.hpp:11:1: error: body of constexpr function ‘constexpr const T& clamp(const T&, const T&, const T&, Compare) [with T = float; Compare = std::less]’ not a return-statement
}
^
make: *** [build/src/ClockDivider.cpp.o] Error 1
The text was updated successfully, but these errors were encountered: