Closed Suncuss closed 7 years ago
@Suncuss Can you tell me what tool and system you're using to compile whamg?
@zeeev Linux Hostname 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
cmake version 3.5.1
g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
and I used the command provided in the readme
git clone --recursive https://github.com/zeeev/wham.git; cd wham; make
I'm having this issue on Ubuntu 16.04, GCC/G++ 6.2.0, and a correspondingly modern version of Cmake. Any chance there's a fix?
FWIW I can compile if I switch the unsigned long long
on line 111 to a long long
, but I worry this is probably going to change program behavior (and my C++ knowledge isn't quite at the level required to decipher this macro, though intuition says it's just swapping a possibly negative number to a strictly positive one??).
@edawson Thanks for the report. Can you link me to the line you're changing? I'll look into it.
I'm getting this same error w/ gcc 5.2.0. What version of gcc are you (Zev) developing this on?
Fixed by @edawson in latest PR.
Hi
I'm getting some narrowing conversion error during installation.
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
Thanks!