[Biopython-dev] comile bug in _KDTree

Daniel Rubin dlrubin at yahoo.com
Tue Sep 24 01:19:35 EDT 2002


 I got a compile error (below) that seems to be from
the fact that a default 
 parameter is declared in both the header file &
implementation file for _KDTree
 (illegal). I fixed this by removing the default
assignment in the .h file, 
 and then the build worked. Who do I report this to?
 
 Thanks,
 Daniel
 
 gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC 
 -I/home/rubin/include/python2.2 -c
Bio/KDTree/_KDTree.C -o 
 build/temp.solaris-2.8-sun4u-2.2/_KDTree.o
 Bio/KDTree/_KDTree.C:277: default argument given for
parameter 2 of `int
     Region::test_intersection(Region*, float = 0)'
 Bio/KDTree/_KDTree.h:71: after previous specification
in `int
     Region::test_intersection(Region*, float = 0)'
 Bio/KDTree/_KDTree.C: In member function `void
     KDTree::neighbor_simple_search(float)':
 Bio/KDTree/_KDTree.C:912: warning: comparison between
signed and unsigned
     integer expressions
 Bio/KDTree/_KDTree.C:921: warning: comparison between
signed and unsigned
     integer expressions
 error: command 'gcc' failed with exit status 1

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



More information about the Biopython-dev mailing list