[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

clustalo compilation error



Hi,
while trying to update clustalo package for Debian , compiling v1.2.3
failed with the following error while compiling hhalign.lo


....
hhalignment-C.h:2571:43: error: call of overloaded 'log2(float)' is
ambiguous
hhalignment-C.h:2572:43: error: call of overloaded 'log2(float)' is
ambiguous
....

It seems a cast to double or float is necessary for your log2 calls. As
I do not know what is the type of your data, I did not try any conversion.

for code like q.tr[i][I2I]=log2(q.tr[i][I2I]/sum);

It may be related to gcc (v6) version or related libraries.

Thanks

Olivier

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438



Reply to: