Package: libprojectm
Version: 1.2.0-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 libprojectm_1.2.0-1 on em64t by sbuild/amd64 0.53
...
> [ 62%] Building CXX object CMakeFiles/projectM.dir/BuiltinParams.o
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp: In member function 'int 
> BuiltinParams::load_builtin_param_float(const std::string&, void*, void*, 
> short int, float, float, float, const std::string&)':
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:47: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:48: error: 'stdout' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:48: error: 'fflush' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:61: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:62: error: 'stdout' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:62: error: 'fflush' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:75: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:76: error: 'stdout' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:76: error: 'fflush' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:89: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:90: error: 'stdout' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:90: error: 'fflush' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:96: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp: In member function 'int 
> BuiltinParams::init_builtin_param_db(const PresetInputs&, PresetOutputs&)':
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:252: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:253: error: 'stdout' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:253: error: 'fflush' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:259: error: 'printf' was not 
> declared in this scope
> /build/tbm/libprojectm-1.2.0/BuiltinParams.cpp:263: error: 'printf' was not 
> declared in this scope
> make[3]: *** [CMakeFiles/projectM.dir/BuiltinParams.o] Error 1
> make[3]: Leaving directory `/build/tbm/libprojectm-1.2.0'

--- BuiltinParams.cpp~  2008-11-14 12:38:12.000000000 +0000
+++ BuiltinParams.cpp   2008-11-14 12:37:58.000000000 +0000
@@ -3,6 +3,7 @@
 #include "BuiltinParams.hpp"
 #include <cassert>
 #include "Algorithms.hpp"
+#include <cstdio>
 #include <iostream>
 #include <algorithm>
 #include "InitCondUtils.hpp"

-- 
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