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
{{ message }}
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
CMake should check for minimum GCC version requirement for C++14 support #228
This make sure to add C++14 flags (e.g. -std=c++1y) but this is not sufficient for C++14 and result into following error:
[ 6%] Building CXX object external/coreneuron/coreneuron/CMakeFiles/coreneuron.dir/nrniv/cvodestb.cpp.o
In file included from /home/ext_salvadordura_gmail_com/nrn/external/coreneuron/coreneuron/nrniv/cvodestb.cpp:29:0:
/home/ext_salvadordura_gmail_com/nrn/external/coreneuron/coreneuron/coreneuron.hpp:77:7: internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19525
class CoreNeuron {
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccqWAT4G.out file, please attach this to your bugreport.
make[2]: *** [external/coreneuron/coreneuron/CMakeFiles/coreneuron.dir/nrniv/cvodestb.cpp.o] Error 1
make[1]: *** [external/coreneuron/coreneuron/CMakeFiles/coreneuron.dir/all] Error 2
make: *** [all] Error 2
Activity
pramodk commentedon Nov 30, 2020
@alkino : In NMODL we have used this : https://github.com/BlueBrain/nmodl/blob/eb57b105a52f11fb5684fd5120c0f18408062e99/cmake/CompilerHelper.cmake#L2
alkino commentedon Nov 30, 2020
We can ask for specific c++14 feature ;)
olupton commentedon Jun 29, 2021
I think this is still live, but it should be as simple as checking for
cxx_std_14in${CMAKE_CXX_COMPILE_FEATURES}and printing an error.