[Debian-med-packaging] Bug#462707: FTBFS with GCC 4.3: missing #includes
Martin Michlmayr
tbm at cyrius.com
Sat Jan 26 23:48:54 UTC 2008
Package: muscle
Version: 3.70-1
Severity: important
Usertags: ftbfs-gcc-4.3
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. In GCC 4.3, the C++ header
dependencies have been cleaned up. The advantage of this is that
programs will compile faster. The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC). There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html
You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.
> Automatic build of muscle_3.70-1 on em64t by sbuild/amd64 0.53
...
> g++ -c -Wall -g -O2 -funroll-loops -Winline -DNDEBUG=1 scoredist.cpp -o scoredist.o
> scoredist.cpp: In function 'double Sigma_N(const MSA&, unsigned int, unsigned int)':
> scoredist.cpp:48: error: 'UINT_MAX' was not declared in this scope
> scoredist.cpp: In function 'double Sigma_UN(const MSA&, unsigned int, unsigned int)':
> scoredist.cpp:66: error: 'UINT_MAX' was not declared in this scope
> intmath.h: At global scope:
> intmath.h:59: warning: 'double ScoreToDouble(SCORE)' defined but not used
> make[1]: *** [scoredist.o] Error 1
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Debian-med-packaging
mailing list