[CLN-list] Shift overflow?
David van der Spoel
spoel at xray.bmc.uu.se
Sun Jan 6 17:46:29 CET 2019
Hi,
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))
~~~^~~~~~~~~
any clue?
Cheers,
--
David van der Spoel, Ph.D., Professor of Biology
Head of Department, Cell & Molecular Biology, Uppsala University.
Box 596, SE-75124 Uppsala, Sweden. Phone: +46184714205.
http://www.icm.uu.se
More information about the CLN-list
mailing list