Package: rubberband
Version: 1.2-1
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 rubberband_1.2-1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -DHAVE_FFTW3 -DFFTW_DOUBLE_ONLY -DNO_THREAD_CHECKS -g 
> -O2 -fPIC -Wall         -Irubberband -Isrc    -c -o 
> src/vamp/RubberBandVampPlugin.o src/vamp/RubberBandVampPlugin.cpp
> src/vamp/RubberBandVampPlugin.cpp: In member function 'std::map<int, 
> std::vector<Vamp::Plugin::Feature, std::allocator<Vamp::Plugin::Feature> >, 
> std::less<int>, std::allocator<std::pair<const int, 
> std::vector<Vamp::Plugin::Feature, std::allocator<Vamp::Plugin::Feature> > > 
> > > RubberBandVampPlugin::Impl::createFeatures(size_t, std::vector<int, 
> std::allocator<int> >&, std::vector<float, std::allocator<float> >&, 
> std::vector<int, std::allocator<int> >&, std::vector<float, 
> std::allocator<float> >&, size_t, bool)':
> src/vamp/RubberBandVampPlugin.cpp:587: error: 'sprintf' was not declared in 
> this scope
> make[1]: *** [src/vamp/RubberBandVampPlugin.o] Error 1
> make[1]: Leaving directory `/build/tbm/rubberband-1.2'
> make: *** [build-stamp] Error 2

--- src/vamp/RubberBandVampPlugin.cpp~  2008-11-11 19:55:55.000000000 +0000
+++ src/vamp/RubberBandVampPlugin.cpp   2008-11-11 19:56:00.000000000 +0000
@@ -17,6 +17,7 @@
 #include "StretchCalculator.h"
 #include "sysutils.h"
 
+#include <cstdio>
 #include <cmath>
 
 using std::string;

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to