Package: tse3 Version: 0.3.1-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.
Problem 1: 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 Problem 2: you cannot put ; after functions. 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 the near future.) > Automatic build of tse3_0.3.1-4 on em64t by sbuild/amd64 0.53 ... > g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -fPIC -W -Wall -ansi > -pedantic -MT Demidify.lo -MD -MP -MF .deps/Demidify.Tpo -c Demidify.cpp > -fPIC -DPIC -o .libs/Demidify.o > In file included from ../../../src/tse3/Song.h:23, > from Demidify.cpp:19: > ../../../src/tse3/Playable.h:51: error: extra ';' > make[5]: *** [Demidify.lo] Error 1 > make[5]: Leaving directory `/build/tbm/tse3-0.3.1/src/tse3/util' --- src/tse3/Playable.h~ 2007-04-25 17:02:58.000000000 +0000 +++ src/tse3/Playable.h 2007-04-25 17:03:04.000000000 +0000 @@ -48,7 +48,7 @@ Playable() {} - virtual ~Playable() {}; + virtual ~Playable() {} /** * Creates a new @ref PlayableIterator object and passes it to you --- src/tse3/Transport.h~ 2007-04-25 17:19:05.000000000 +0000 +++ src/tse3/Transport.h 2007-04-25 17:19:08.000000000 +0000 @@ -121,7 +121,7 @@ * * @return The Part's @ref MidiFilter object */ - MidiFilter *filter() { return &_filter; }; + MidiFilter *filter() { return &_filter; } /** * The @ref Panic object used to send reset data at transport start. --- src/tse3/Serializable.h~ 2007-04-25 17:24:18.000000000 +0000 +++ src/tse3/Serializable.h 2007-04-25 17:27:24.000000000 +0000 @@ -20,6 +20,7 @@ #include <iosfwd> #include <iomanip> #include <cstddef> +#include <ostream> namespace TSE3 { --- src/tse3play/tse3play.cpp~ 2007-04-25 17:33:38.000000000 +0000 +++ src/tse3play/tse3play.cpp 2007-04-25 17:33:51.000000000 +0000 @@ -31,6 +31,7 @@ #include "tse3/TSE3.h" #include "tse3/Error.h" #include "tse3/Metronome.h" +#include <cstdlib> #include <fstream> #ifdef HAVE_CONFIG_H --- src/examples/recording/recording.cpp~ 2007-04-25 17:32:47.000000000 +0000 +++ src/examples/recording/recording.cpp 2007-04-25 17:32:57.000000000 +0000 @@ -26,6 +26,7 @@ * **************************************************************/ +#include <cstdlib> #include <iostream> // Used in step 1 -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

