Package: worker
Version: 2.11.1-2
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). Some background of this can be found at
http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64. I hope to have i386 binaries in the archive in ~3 weeks.)
> Automatic build of worker_2.11.1-2 on em64t by sbuild/amd64 0.53
...
> condparser.cc:1150: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> if g++ -DHAVE_CONFIG_H -I. -I. -I../src/aguix -D_REENTRANT -g -O2
> -fcheck-new -Wall -MT configparser.tab.o -MD -MP -MF
> ".deps/configparser.tab.Tpo" -c -o configparser.tab.o configparser.tab.cc; \
> then mv -f ".deps/configparser.tab.Tpo" ".deps/configparser.tab.Po";
> else rm -f ".deps/configparser.tab.Tpo"; exit 1; fi
> In file included from worker_commands.h:38,
> from configparser.y:28:
> startprogop.h:101: error: ISO C++ forbids declaration of 'auto_ptr' with no
> type
> startprogop.h:101: error: invalid use of '::'
> startprogop.h:101: error: expected ';' before '<' token
> startprogop.h:113: error: ISO C++ forbids declaration of 'auto_ptr' with no
> type
> startprogop.h:113: error: invalid use of '::'
> startprogop.h:113: error: expected ';' before '<' token
> startprogop.h:125: error: ISO C++ forbids declaration of 'auto_ptr' with no
> type
> startprogop.h:125: error: invalid use of '::'
> startprogop.h:125: error: expected ';' before '<' token
> startprogop.h:144: error: ISO C++ forbids declaration of 'auto_ptr' with no
> type
> startprogop.h:144: error: invalid use of '::'
> startprogop.h:144: error: expected ';' before '<' token
--- src/startprogop.h~ 2007-04-04 13:55:23.000000000 +0000
+++ src/startprogop.h 2007-04-04 13:55:32.000000000 +0000
@@ -32,6 +32,7 @@
#include <aguix/cyclebutton.h>
#include <aguix/stringgadget.h>
#include "wconfig.h"
+#include <memory>
class StartProgOp:public FunctionProto
{
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]