Package: isoquery
Version: 0.11-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).  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 isoquery_0.11-1 on em64t by sbuild/amd64 0.53
...
> make[2]: Entering directory `/build/tbm/isoquery-0.11/src'
> if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"isoquery\" 
> -DPACKAGE_TARNAME=\"isoquery\" -DPACKAGE_VERSION=\"0.11\" 
> -DPACKAGE_STRING=\"isoquery\ 0.11\" -DPACKAGE_BUGREPORT=\"Tobias\ Toedter\ 
> \<[EMAIL PROTECTED]>\" -DPACKAGE=\"isoquery\" -DVERSION=\"0.11\" 
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DENABLE_NLS=1 
> -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I. -I.  -I/usr/include/libxml++-2.6 
> -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 
> -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include      -g -O2 -MT isoquery.o -MD -MP -MF 
> ".deps/isoquery.Tpo" -c -o isoquery.o isoquery.cpp; \
>       then mv -f ".deps/isoquery.Tpo" ".deps/isoquery.Po"; else rm -f 
> ".deps/isoquery.Tpo"; exit 1; fi
> isoquery.cpp: In function 'int main(int, char**)':
> isoquery.cpp:43: error: 'textdomain' was not declared in this scope
> isoquery.cpp:63: error: 'EXIT_SUCCESS' was not declared in this scope
> make[2]: *** [isoquery.o] Error 1
> make[2]: Leaving directory `/build/tbm/isoquery-0.11/src'


--- src/isoquery.cpp~   2008-01-23 07:14:42.000000000 +0000
+++ src/isoquery.cpp    2008-01-23 07:17:39.000000000 +0000
@@ -25,6 +25,8 @@
 
 #include "option_parser.h"
 #include "xmldata.h"
+#include <cstdlib>
+#include <libintl.h>
 
 
 
--- src/option_parser.cpp~      2008-01-23 07:17:53.000000000 +0000
+++ src/option_parser.cpp       2008-01-23 07:17:59.000000000 +0000
@@ -25,6 +25,7 @@
 
 #include "gettext.h"
 #include "option_parser.h"
+#include <cstdlib>
 
 #define _ gettext
 
--- src/xmldata.cpp~    2008-01-23 07:18:10.000000000 +0000
+++ src/xmldata.cpp     2008-01-23 07:18:50.000000000 +0000
@@ -23,8 +23,11 @@
 #include <config.h>
 #endif
 
+#include <cstdlib>
+#include <cstring>
 #include <iostream>
 #include <string>
+#include <libintl.h>
 using namespace std;
 
 #define _ gettext

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to