[CLN-list] Warnings

David van der Spoel spoel at xray.bmc.uu.se
Mon Feb 27 10:23:04 CET 2017


Hi,

I'm compiling version 1.3.4 using gcc/6.2.0 and get the following 
warning a few times:

In file included from ./base/cl_sysdep.h:56:0,
                  from base/digitseq/cl_DS_div.cc:4:
base/digitseq/cl_DS_div.cc: In function 'void cln::cl_UDS_divide(const 
uintD*, uintC, const uintD*, const uintD*, uintC, const uintD*, uintD*, 
cln::DS*, cln::DS*)':
./base/cl_macros.h:119:26: warning: result of '(2ll << 63)' requires 66 
bits to represent, but 'long long int' only has 64 bits [-Wshift-overflow=]
      #define bitm(n)  (2LL<<((n)-1))
                        ~~~^~~~~~~~~
base/digitseq/cl_DS_div.cc:342:34: note: in expansion of macro 'bitm'
                         q_stern = bitm(intDsize)-1; // q* = beta-1
                                   ^~~~
libtool: compile:  /home/apps/gcc/6.2.0/bin/g++ -DHAVE_CONFIG_H -I. 
-I../autoconf -I../include -I../src -I../include -I../src 
-I/home/apps/utilities/include -I/home/apps/utilities/include -MT 
base/digitseq/cl_DS_recipsqrt.lo -MD -MP -MF 
base/digitseq/.deps/cl_DS_recipsqrt.Tpo -c 
base/digitseq/cl_DS_recipsqrt.cc  -fPIC -DPIC -o 
base/digitseq/.libs/cl_DS_recipsqrt.o

Clues?
-- 
David van der Spoel, Ph.D., Professor of Biology
Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone:	+46184714205.
spoel at xray.bmc.uu.se    http://folding.bmc.uu.se


More information about the CLN-list mailing list