Package: mffm-fftw Version: 1.6-1.1 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 mffm-fftw_1.6-1.1 on coconut0 by sbuild/ia64 0.49 ... > g++ -O3 -fPIC -c realFFTData.cc > In file included from > /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/iomanip.h:31, > from realFFT.H:24, > from realFFTData.H:21, > from realFFTData.cc:18: > /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2: > warning: #warning This file includes at least one deprecated or antiquated > header. Please consider using one of the 32 headers found in section 17.4.1.2 > of the C++ standard. Examples include substituting the <X> header for the > <X.h> header for C++ includes, or <iostream> instead of the deprecated header > <iostream.h>. To disable this warning use -Wno-deprecated. > realFFTData.cc: In constructor 'realFFTData::realFFTData(int)': > realFFTData.cc:40: error: 'exit' was not declared in this scope > realFFTData.cc: In constructor 'realFFTData::realFFTData(int, double*, > double*)': > realFFTData.cc:52: error: 'exit' was not declared in this scope > realFFTData.cc:63: error: 'exit' was not declared in this scope > make[1]: *** [realFFTData.o] Error 1 --- realFFTData.cc~ 2007-04-02 18:52:18.000000000 +0000 +++ realFFTData.cc 2007-04-02 18:52:27.000000000 +0000 @@ -17,6 +17,7 @@ */ #include "realFFTData.H" +#include <cstdlib> #include <values.h> #include <iomanip.h> #include <math.h> --- complexFFT.cc~ 2007-04-02 18:53:40.000000000 +0000 +++ complexFFT.cc 2007-04-02 18:53:47.000000000 +0000 @@ -18,6 +18,7 @@ #include "complexFFT.H" #include <iomanip.h> +#include <cstdlib> using namespace std; complexFFTData:: -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

