Package: agistudio Version: 1.2.3-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). Some background of this can be found at http://gcc.gnu.org/PR28080
You can reproduce this problem with gcc-snapshot from unstable. > Automatic build of agistudio_1.2.3-1 on coconut0 by sbuild/ia64 0.49 ... > g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DQT_THREAD_SUPPORT -DNO_DEBUG > -I/usr/include/qt3 -I/usr/include/qt -o logdecode.o logdecode.cpp > In file included from picture.h:24, > from preview.h:24, > from resources.h:33, > from logedit.h:39, > from logdecode.cpp:24: > /usr/include/qt3/qimage.h: In member function 'bool > QImageTextKeyLang::operator<(const QImageTextKeyLang&) const': > /usr/include/qt3/qimage.h:58: warning: suggest parentheses around && within || > logdecode.cpp: In member function 'void Logic::AddBlockEnds()': > logdecode.cpp:208: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp: In member function 'int Logic::FindLabels()': > logdecode.cpp:218: error: 'calloc' was not declared in this scope > logdecode.cpp: In member function 'void Logic::AddArg(byte, byte)': > logdecode.cpp:300: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp: In member function 'void Logic::ReadIfs()': > logdecode.cpp:453: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:463: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:474: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:489: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:552: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp: In member function 'int Logic::decode(int)': > logdecode.cpp:624: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:625: warning: suggest parentheses around && within || > logdecode.cpp:650: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:651: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:667: warning: deprecated conversion from string constant to > 'char*' > logdecode.cpp:679: error: 'free' was not declared in this scope > make[1]: *** [logdecode.o] Error 1 > make[1]: Leaving directory `/build/tbm/agistudio-1.2.3/src' --- src/logdecode.cpp~ 2007-04-01 14:23:03.000000000 +0000 +++ src/logdecode.cpp 2007-04-01 14:23:09.000000000 +0000 @@ -27,6 +27,7 @@ #include "menu.h" #include "agicommands.h" +#include <cstdlib> #include <stdio.h> static int EncryptionStart; --- src/main.cpp~ 2007-04-01 14:24:07.000000000 +0000 +++ src/main.cpp 2007-04-01 14:24:14.000000000 +0000 @@ -18,6 +18,7 @@ * */ +#include <cstdlib> #include <stdio.h> #include <qapplication.h> --- src/picedit.cpp~ 2007-04-01 14:25:27.000000000 +0000 +++ src/picedit.cpp 2007-04-01 14:25:35.000000000 +0000 @@ -24,6 +24,7 @@ #include "picture.h" #include "preview.h" +#include <cstdlib> #include <qspinbox.h> #include <qapplication.h> #include <qpainter.h> -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

