Package: muse Version: 0.8.1a-4 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. > Automatic build of muse_0.8.1a-4 on coconut0 by sbuild/ia64 0.49 ... > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -fno-exceptions -Wall -W > -D_GNU_SOURCE -D_REENTRANT -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -I../.. > -I../../muse/widgets -I/usr/include/qt3 -I.. -I../../synti > -I../../muse/widgets -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_PLUGIN > -DINSTPREFIX=\"/usr\" -Wall -O2 -MT deicsonze.lo -MD -MP -MF > .deps/deicsonze.Tpo -c deicsonze.cpp -fPIC -DPIC -o .libs/deicsonze.o > deicsonze.cpp: In constructor 'DeicsOnze::DeicsOnze()': > deicsonze.cpp:90: error: 'srand' was not declared in this scope > deicsonze.cpp: In function 'void lfoUpdate(Preset*, Global*, float*)': > deicsonze.cpp:991: error: 'rand' was not declared in this scope > deicsonze.cpp:991: error: 'RAND_MAX' was not declared in this scope --- muse/widgets/poslabel.cpp~ 2007-04-02 19:17:46.000000000 +0000 +++ muse/widgets/poslabel.cpp 2007-04-02 19:17:53.000000000 +0000 @@ -6,6 +6,7 @@ //========================================================= #include <cmath> +#include <cstdlib> #include <qapplication.h> #include <qstyle.h> --- muse/memory.h~ 2007-04-02 19:14:10.000000000 +0000 +++ muse/memory.h 2007-04-02 19:14:18.000000000 +0000 @@ -9,6 +9,7 @@ #ifndef __MEMORY_H__ #define __MEMORY_H__ +#include <cstdlib> #include <stdio.h> #include <map> --- muse/thread.cpp~ 2007-04-02 19:29:20.000000000 +0000 +++ muse/thread.cpp 2007-04-02 19:29:28.000000000 +0000 @@ -8,6 +8,7 @@ #include "thread.h" #include <stdio.h> +#include <stdlib.h> #include <unistd.h> #include <sys/mman.h> #include <sys/poll.h> --- muse/help.cpp~ 2007-04-02 19:32:12.000000000 +0000 +++ muse/help.cpp 2007-04-02 19:32:18.000000000 +0000 @@ -6,6 +6,7 @@ // (C) Copyright 1999/2000 Werner Schweer ([EMAIL PROTECTED]) //========================================================= +#include <cstdlib> #include <unistd.h> #include <qmessagebox.h> #include <qprocess.h> --- muse/ctrl.cpp~ 2007-04-02 19:34:08.000000000 +0000 +++ muse/ctrl.cpp 2007-04-02 19:34:14.000000000 +0000 @@ -9,6 +9,7 @@ //========================================================= +#include <cstdlib> #include "globals.h" #include "ctrl.h" #include "xml.h" --- synti/deicsonze/deicsonze.cpp~ 2007-04-02 19:05:56.000000000 +0000 +++ synti/deicsonze/deicsonze.cpp 2007-04-02 19:06:11.000000000 +0000 @@ -27,6 +27,8 @@ // 02111-1307, USA or point your web browser to http://www.gnu.org. //=========================================================================== +#include <cstdlib> +#include <climits> #include <cmath> #include <list> --- synti/simpledrums/ssplugin.cpp~ 2007-04-02 19:11:40.000000000 +0000 +++ synti/simpledrums/ssplugin.cpp 2007-04-02 19:11:46.000000000 +0000 @@ -10,6 +10,7 @@ // // +#include <cstdlib> #include <dlfcn.h> #include "ssplugin.h" #include "common.h" -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]