7 Jan
2019
7 Jan
'19
8 a.m.
Hi, David van der Spoel wrote:
I am compiling 1.3.4 using gcc 8.2 and get these warnings:
./base/cl_macros.h:119:26: warning: result of '(2 << 63)' requires 66 bits to represent, but 'long long in' only has 64 bits [-Wshift-overflow=] #define bitm(n) (2LL<<((n)-1)) ~~~^~~~~~~~~
The attached patch will fix it. Thanks for the report. Bruno