Santy-8128 / Minimac3

Minimac3 is a low memory and computationally efficient implementation of the genotype imputation algorithms. Minimac3 is designed to handle very large reference panels in a more computationally efficient way with no loss of accuracy.
28 stars 12 forks source link

build error on gcc 7.2 #8

Closed sk0427 closed 6 years ago

sk0427 commented 6 years ago

I tried build with gcc 7.2.0. However, I found an error below

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[3]: *** [obj/Parameters.o] Error 1
make[2]: *** [general] Error 2
make[1]: *** [../Library/libStatGenForMinimac3/libStatGen.a] Error 2
make[1]: Leaving directory `/home/Minimac3/src'
make: *** [src] Error 2

I replaced

Minimac3/Library/libStatGenForMinimac3/general

with

libStatGen/general (cloned from https://github.com/statgen/libStatGen.git)

and it was successfully build. But, does it works well?

Santy-8128 commented 6 years ago

Hi, Yes, that should work perfect. Sorry about the delay in response.