Package: qlandkarte Version: 0.7.3~dfsg.1-1 User: [EMAIL PROTECTED] Usertags: ftbfs-gcc-4.4 Tags: patch
Your package fails to build with the upcoming GCC 4.4. Version 4.4 has not been released yet but I'm building with a snapshot in order to find errors and give people an advance warning. GCC 4.4 cleaned up some more C++ headers. You always have to #include headers directly and cannot rely for things to be included indirectly. You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of qlandkarte_0.7.3~dfsg.1-1 on em64t by sbuild/amd64 0.53 ... > CDevice.cpp:603: warning: dereferencing type-punned pointer will break > strict-aliasing rules > CDevice.cpp:609: warning: dereferencing type-punned pointer will break > strict-aliasing rules > CDevice.cpp:640: error: 'sprintf' was not declared in this scope --- src/device/EtrexH/CDevice.cpp~ 2008-11-11 20:28:50.000000000 +0000 +++ src/device/EtrexH/CDevice.cpp 2008-11-11 20:28:55.000000000 +0000 @@ -25,6 +25,7 @@ #include <Garmin.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/EtrexLegendC/CDevice.cpp~ 2008-11-11 20:24:59.000000000 +0000 +++ src/device/EtrexLegendC/CDevice.cpp 2008-11-11 20:25:06.000000000 +0000 @@ -27,6 +27,7 @@ #include <Garmin.h> #include <errno.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/GPSMap60CSx/CDevice.cpp~ 2008-11-11 20:26:10.000000000 +0000 +++ src/device/GPSMap60CSx/CDevice.cpp 2008-11-11 20:26:15.000000000 +0000 @@ -26,6 +26,7 @@ #include <Garmin.h> #include <errno.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/Emap/CDevice.cpp~ 2008-11-11 20:30:48.000000000 +0000 +++ src/device/Emap/CDevice.cpp 2008-11-11 20:30:53.000000000 +0000 @@ -25,6 +25,7 @@ #include <Garmin.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/EtrexLegend/CDevice.cpp~ 2008-11-11 20:28:28.000000000 +0000 +++ src/device/EtrexLegend/CDevice.cpp 2008-11-11 20:28:35.000000000 +0000 @@ -25,6 +25,7 @@ #include <Garmin.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/EtrexLegendCx/CDevice.cpp~ 2008-11-11 20:27:50.000000000 +0000 +++ src/device/EtrexLegendCx/CDevice.cpp 2008-11-11 20:28:07.000000000 +0000 @@ -73,6 +73,7 @@ #include <Garmin.h> #include <errno.h> +#include <cstdio> #include <iostream> #include <sstream> --- src/device/GPSMap76/CDevice.cpp~ 2008-11-11 20:27:27.000000000 +0000 +++ src/device/GPSMap76/CDevice.cpp 2008-11-11 20:27:34.000000000 +0000 @@ -25,6 +25,7 @@ #include <Garmin.h> +#include <cstdio> #include <iostream> #include <sstream> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]