Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libStatGen-1.0.14: error: use of an operand of type 'bool' in 'operator++' is deprecated #15

Closed
mmokrejs opened this issue Jul 15, 2017 · 1 comment

Comments

@mmokrejs
Copy link

mmokrejs commented Jul 15, 2017

Hi,
when compiling with gcc-4.9.4 I get:

g++  -O2 -pipe -O2 -pipe -march=native -ftree-vectorize -Werror  -Wno-strict-overflow -I../include -I.   -D__ZLIB_AVAILABLE__ -D_FILE_OFFSET_BITS=64 -D__STDC_LIMIT_MACROS  -o obj/StatGenStatus.o -c StatGenStatus.cpp -DVERSION="\"1.0.0\""
Parameters.cpp: In member function 'virtual void LongParameters::Status()':
Parameters.cpp:573:25: error: use of an operand of type 'bool' in 'operator++' is deprecated [-Werror=deprecated]
             legacy_count++;
                         ^~
cc1plus: all warnings being treated as errors
make[1]: *** [../Makefiles/Makefile.common:81: obj/Parameters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/apps/gentoo/var/tmp/portage/sci-libs/libStatGen-1.0.14/work/libStatGen-1.0.14/general'

Looks like a valid error.

@GabeCCG
Copy link

GabeCCG commented Sep 24, 2019

Hi, is there a plan to push this fix into a release? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants