Package: libitpp
Version: 4.0.4-2
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 libitpp_4.0.4-2 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. 
> -I../../itpp  -I../.. -I../..  -Wall -g -DNDEBUG -pipe -O2  -MT 
> libbase_la-timing.lo -MD -MP -MF .deps/libbase_la-timing.Tpo -c -o 
> libbase_la-timing.lo `test -f '../../itpp/base/timing.cpp' || echo 
> './'`../../itpp/base/timing.cpp
>  g++ -DHAVE_CONFIG_H -I. -I../../itpp -I../.. -I../.. -Wall -g -DNDEBUG -pipe 
> -O2 -MT libbase_la-timing.lo -MD -MP -MF .deps/libbase_la-timing.Tpo -c 
> ../../itpp/base/timing.cpp  -fPIC -DPIC -o .libs/libbase_la-timing.o
> ../../itpp/base/timing.cpp: In function 'void itpp::pause(double)':
> ../../itpp/base/timing.cpp:172: error: 'getchar' was not declared in this 
> scope
> make[5]: *** [libbase_la-timing.lo] Error 1
> make[5]: Leaving directory `/build/tbm/libitpp-4.0.4/itpp/base'
> make[4]: *** [all-recursive] Error 1

--- itpp/base/timing.cpp~       2008-11-11 20:13:33.000000000 +0000
+++ itpp/base/timing.cpp        2008-11-11 20:13:48.000000000 +0000
@@ -45,6 +45,7 @@
 #endif
 
 #include <itpp/base/timing.h>
+#include <cstdio>
 #include <iostream>
 #include <cmath>
 
--- itpp/base/vec.cpp~  2008-11-11 20:14:06.000000000 +0000
+++ itpp/base/vec.cpp   2008-11-11 20:14:13.000000000 +0000
@@ -29,6 +29,7 @@
 
 #include <itpp/base/vec.h>
 #include <itpp/base/converters.h>
+#include <cstdio>
 #include <limits>
 
 //! \cond
--- itpp/fixed/cfix.cpp~        2008-11-11 20:20:18.000000000 +0000
+++ itpp/fixed/cfix.cpp 2008-11-11 20:20:24.000000000 +0000
@@ -29,6 +29,7 @@
 
 #include <itpp/fixed/cfix.h>
 #include <itpp/base/itassert.h>
+#include <cstdio>
 #include <iostream>
 
 
--- itpp/fixed/fix.cpp~ 2008-11-11 20:20:55.000000000 +0000
+++ itpp/fixed/fix.cpp  2008-11-11 20:21:06.000000000 +0000
@@ -29,6 +29,7 @@
 
 #include <itpp/fixed/fix.h>
 #include <itpp/base/itassert.h>
+#include <cstdio>
 #include <iostream>
 
 

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