Hi Oliver,

I just recieved a bug report concerning something that still has to grow
a bit to become a proper bug ;-)

Not sure whether you fixed that in the meantime (just ignore it in that
case).


Michael

----- Forwarded message from Martin Michlmayr <[EMAIL PROTECTED]> -----

Date: Tue, 11 Nov 2008 21:37:23 +0100
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Bug#505354: FTBFS with GCC 4.4: missing #include
X-Spam-Status: No, score=-8.9 required=4.0 tests=AWL,BAYES_00,HAS_PACKAGE,
        MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Reply-To: Martin Michlmayr <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Resent-From: Martin Michlmayr <[EMAIL PROTECTED]>

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/


----- End forwarded message -----

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QLandkarte-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkarte-users

Reply via email to