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
common/io.hpp:53:22: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float IO::MISSING_GENO’ of non-integral type [-fpermissive]
#1
Open
diegobardiaux opened this issue
Mar 23, 2022
· 1 comment
When compiling the code from source, I got this error
make
g++ -Wall -g -I/home/kaiwang/usr/boost/boost_1_58_0/ -I/home/kaiwang/usr/gsl/gsl/include -Dcnv -c common/analyzer.cpp
In file included from common/analyzer.cpp:10:
common/io.hpp:53:22: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float IO::MISSING_GENO’ of non-integral type [-fpermissive]
53 | const static float MISSING_GENO=9.;
| ^~~~~~~~~~~~
make: *** [makefile:90: analyzer.o] Error 1
The text was updated successfully, but these errors were encountered:
The code has not been maintained for a while; you can try a different
(lower) version of gcc to see whether it fixes the issue. Also make sure
you use the correct "-l" statement since the default has "/home/kaiwang"
which should be changed to your own path.
On Wed, Mar 23, 2022 at 11:54 AM diegobardiaux ***@***.***> wrote:
Hello,
When compiling the code from source, I got this error
make
g++ -Wall -g -I/home/kaiwang/usr/boost/boost_1_58_0/
-I/home/kaiwang/usr/gsl/gsl/include -Dcnv -c common/analyzer.cpp
In file included from common/analyzer.cpp:10:
common/io.hpp:53:22: error: ‘constexpr’ needed for in-class initialization
of static data member ‘const float IO::MISSING_GENO’ of non-integral type
[-fpermissive]
53 | const static float MISSING_GENO=9.;
| ^~~~~~~~~~~~
make: *** [makefile:90: analyzer.o] Error 1
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNG3OGCFVDY3OWWER7LN2LVBM5EJANCNFSM5RONTK4A>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Hello,
When compiling the code from source, I got this error
make
g++ -Wall -g -I/home/kaiwang/usr/boost/boost_1_58_0/ -I/home/kaiwang/usr/gsl/gsl/include -Dcnv -c common/analyzer.cpp
In file included from common/analyzer.cpp:10:
common/io.hpp:53:22: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float IO::MISSING_GENO’ of non-integral type [-fpermissive]
53 | const static float MISSING_GENO=9.;
| ^~~~~~~~~~~~
make: *** [makefile:90: analyzer.o] Error 1
The text was updated successfully, but these errors were encountered: