nh13 / TMAP

Torrent Mapping Alignment Program
GNU General Public License v2.0
19 stars 0 forks source link

compilation error TMAP #2

Closed gpcr closed 3 years ago

gpcr commented 3 years ago

I'm trying to compile and install TMAP on Centos facing below error ?

src/sw/lib/Solution8.cpp: In member function ‘virtual int Solution8::process(const string&, const string&, int, int, int, int, int, int, int, int*, int*, int*, int*)’:
src/sw/lib/Solution8.cpp:1333:13: warning: array subscript 4294967288 is above array bounds of ‘i16 [1152]’ {aka ‘short int [1152]’} [-Warray-bounds]
       bf[k-8] = 'b'<<8;
             ^
depbase=`echo src/sw/lib/Solution9.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I.     -Wall -g -O3 -pthread -msse3 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -MT src/sw/lib/Solution9.o -MD -MP -MF $depbase.Tpo -c -o src/sw/lib/Solution9.o src/sw/lib/Solution9.cpp &&\
mv -f $depbase.Tpo $depbase.Po
**src/sw/lib/Solution9.cpp:152:133: error: narrowing conversion of ‘197’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]**
 const char __attribute__((aligned (16))) NegInfiniteSIMDShiftedBigData16[16] = {0x68, 0xC5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

Can you help with hints to compile it correctly and install TMAP? Thanks ^

nh13 commented 3 years ago

Sorry I am not supporting TMAP here, please contact Ion Torrent for full support