[Debian-med-packaging] C++ help needed with new version of phyml
Andreas Tille
andreas at an3as.eu
Sat Jun 24 13:01:47 UTC 2017
Hi,
I'd like to package the latest version of phyml[1]. Unfortunately I get
...
gcc -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -O2 -fomit-frame-pointer -funroll-loops -Wall -Winline -march=native -I/usr/include/libhmsbeagle-1 -lhmsbeagle -ldl -c -o lk.o lk.c
utilities.c: In function 'K80_dist':
utilities.c:2108:7: warning: unused variable 'temp' [-Wunused-variable]
int temp;
^~~~
lk.c: In function 'Lk':
lk.c:435:22: warning: unused variable 'npatterns' [-Wunused-variable]
const unsigned int npatterns = tree->n_pattern;
^~~~~~~~~
lk.c:434:22: warning: unused variable 'ncatg' [-Wunused-variable]
const unsigned int ncatg = tree->mod->ras->n_catg;
^~~~~
lk.c:433:22: warning: unused variable 'ns' [-Wunused-variable]
const unsigned int ns = tree->mod->ns;
^~
lk.c:432:21: warning: variable 'dot_prod' set but not used [-Wunused-but-set-variable]
phydbl len,*expl,*dot_prod;
^~~~~~~~
lk.c:432:15: warning: variable 'expl' set but not used [-Wunused-but-set-variable]
phydbl len,*expl,*dot_prod;
^~~~
lk.c:432:10: warning: unused variable 'len' [-Wunused-variable]
phydbl len,*expl,*dot_prod;
^~~
lk.c:431:46: warning: unused variable 'site' [-Wunused-variable]
unsigned int br,catg,state,ambiguity_check,site;
^~~~
lk.c:431:30: warning: unused variable 'ambiguity_check' [-Wunused-variable]
unsigned int br,catg,state,ambiguity_check,site;
^~~~~~~~~~~~~~~
lk.c:431:24: warning: unused variable 'state' [-Wunused-variable]
unsigned int br,catg,state,ambiguity_check,site;
^~~~~
lk.c:431:19: warning: unused variable 'catg' [-Wunused-variable]
unsigned int br,catg,state,ambiguity_check,site;
^~~~
lk.c: In function 'Update_PMat_At_Given_Edge':
lk.c:2263:31: error: invalid initializer
int p_matrices[1] = b_fcus->Pij_rr_idx;
^~~~~~
lk.c:2264:31: error: invalid initializer
double branch_lens[1] = len;
^~~
Makefile:1682: recipe for target 'lk.o' failed
make[4]: *** [lk.o] Error 1
make[4]: *** Waiting for unfinished jobs....
...
when trying to build the latest status in Git. Any hint how to solve
this?
Kind regards
Andreas.
[1] https://anonscm.debian.org/git/debian-med/phyml.git
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list