Package: hugin Version: 0.6.1-1 Usertags: ftbfs-gcc-4.3 Tags: patch 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). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher) from unstable. (Currently not available for i386, but for amd64, powerpc and ia64. I hope to have i386 binaries in the archive in the near future.) > Automatic build of hugin_0.6.1-1 on em64t by sbuild/amd64 0.53 ... > fi > x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/include > -I../../src/include -g -O2 -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c > utils.cpp -o utils.o > In file included from utils.cpp:32: > ../../src/include/common/utils.h: In function 'bool > utils::stringToDouble(const STR&, double&)': > ../../src/include/common/utils.h:178: error: there are no arguments to > 'strtod' that depend on a template parameter, so a declaration of 'strtod' > must be available > ../../src/include/common/utils.h:178: error: (if you use '-fpermissive', G++ > will accept your code, but allowing the use of an undeclared name is > deprecated) > ../../src/include/common/utils.h:182: error: there are no arguments to 'free' > that depend on a template parameter, so a declaration of 'free' must be > available > make[3]: *** [utils.lo] Error 1 --- src/tools/color_correct_tiff.cpp~ 2007-04-26 12:57:28.000000000 +0000 +++ src/tools/color_correct_tiff.cpp 2007-04-26 12:57:38.000000000 +0000 @@ -13,6 +13,7 @@ * and have some opaque overlapping parts (ie use nona with multiple tiff output). */ +#include <cstdlib> #include <iostream> #include <sstream> #include <exception> --- src/include/common/utils.h~ 2007-04-26 12:03:42.000000000 +0000 +++ src/include/common/utils.h 2007-04-26 12:03:57.000000000 +0000 @@ -29,6 +29,7 @@ #include <iostream> #include <sstream> #include <cassert> +#include <cstdlib> #include "platform.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]