Package: anymeal
Version: 0.30-7
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 anymeal_0.30-7 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xercesc -I/usr/include/xalan
> -I/usr/include/xalanc -I/usr/include/kde -I/usr/share/qt3/include -I.
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -O2 -g -Wall
> -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
> -fno-exceptions -fno-check-new -fno-common -fexceptions -I/usr/include/xalanc
> -I/usr/include/xalan -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
> -Wpointer-arith -O2 -g -O2 -g -Wall -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -fexceptions -c -o mysqlDaemon.o `test -f
> 'mysqlDaemon.cpp' || echo './'`mysqlDaemon.cpp
> mysqlDaemon.cpp: In static member function 'static std::string
> MySQLDaemon::create(const std::string&, const std::string&)':
> mysqlDaemon.cpp:94: error: 'popen' was not declared in this scope
> mysqlDaemon.cpp:98: error: 'feof' was not declared in this scope
> mysqlDaemon.cpp:101: error: no matching function for call to 'getline(char**,
> size_t*, FILE*&)'
> make[3]: *** [mysqlDaemon.o] Error 1
> make[3]: Leaving directory `/build/tbm/anymeal-0.30/src'
--- src/mysqlDaemon.cpp~ 2008-11-07 17:37:07.000000000 +0000
+++ src/mysqlDaemon.cpp 2008-11-07 17:37:13.000000000 +0000
@@ -15,6 +15,7 @@
with AnyMeal; if not, contact one of the authors of this software. */
#include <boost/shared_array.hpp>
#include <cstddef>
+#include <cstdio>
#include <cstdlib>
#include <errno.h>
#include <fcntl.h>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]