Hi,
donno if you care about not yet released GCC versions but the Debian
QA people do.

Sven

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

Date: Sun, 16 Nov 2008 19:59:20 +0100
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Pkg-lyx-devel] Bug#505958: FTBFS with GCC 4.4: missing #include
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.3

Package: lyx
Version: 1.6.0-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.

--- src/client/client.cpp~      2008-11-16 18:50:46.000000000 +0000
+++ src/client/client.cpp       2008-11-16 18:51:17.000000000 +0000
@@ -48,6 +48,7 @@
 #include <fcntl.h>
 
 #include <cerrno>
+#include <cstdio>
 #include <cstdlib>
 #include <string>
 #include <vector>
--- src/support/lstrings.cpp~   2008-11-16 18:28:09.000000000 +0000
+++ src/support/lstrings.cpp    2008-11-16 18:28:16.000000000 +0000
@@ -24,6 +24,7 @@
 #include <QString>
 #include <QVector>
 
+#include <cstdio>
 #include <algorithm>
 
 using namespace std;
--- src/frontends/qt4/GuiSymbols.cpp~   2008-11-16 18:35:58.000000000 +0000
+++ src/frontends/qt4/GuiSymbols.cpp    2008-11-16 18:36:06.000000000 +0000
@@ -31,6 +31,8 @@
 #include <QListWidgetItem>
 #include <QString>
 
+#include <cstdio>
+
 using namespace std;
 
 namespace lyx {

-- 
Martin Michlmayr
http://www.cyrius.com/



_______________________________________________
Pkg-lyx-devel mailing list
[EMAIL PROTECTED]
http://lists.alioth.debian.org/mailman/listinfo/pkg-lyx-devel


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

-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]

Reply via email to