Package: asymptote
Version: 1.23-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).
You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64 and
and ia64. I hope to have i386 binaries in the archive in the near
future.)
> Automatic build of asymptote_1.23-1 on em64t by sbuild/amd64 0.53
...
> make[1]: Leaving directory `/build/tbm/asymptote-1.23'
> make[1]: Entering directory `/build/tbm/asymptote-1.23'
> g++ -Wall -ansi -DHAVE_CONFIG_H -DUSEGC -I/usr/include/gc -g -Wall -O2 -I .
> -I /usr/include/gc -o camperror.o -c camperror.cc
> In file included from settings.h:15,
> from errormsg.h:13,
> from vm.h:11,
> from camperror.cc:15:
> item.h: In member function 'bool vm::item::empty()':
> item.h:24: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item()':
> item.h:27: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item(int)':
> item.h:30: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item(double)':
> item.h:32: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item(bool)':
> item.h:34: error: must #include <typeinfo> before using typeid
> item.h: In member function 'vm::item& vm::item::operator=(int)':
> item.h:37: error: must #include <typeinfo> before using typeid
> item.h: In member function 'vm::item& vm::item::operator=(double)':
> item.h:39: error: must #include <typeinfo> before using typeid
> item.h: In member function 'vm::item& vm::item::operator=(bool)':
> item.h:41: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item(T*)':
> item.h:45: error: must #include <typeinfo> before using typeid
> item.h: In constructor 'vm::item::item(const T&)':
> item.h:49: error: must #include <typeinfo> before using typeid
> item.h: In member function 'vm::item& vm::item::operator=(T*)':
> item.h:53: error: must #include <typeinfo> before using typeid
> item.h: In member function 'vm::item& vm::item::operator=(const T&)':
> item.h:57: error: must #include <typeinfo> before using typeid
> item.h: In static member function 'static T* vm::item::help<T*>::unwrap(const
> vm::item&)':
> item.h:83: error: must #include <typeinfo> before using typeid
> item.h: In static member function 'static T& vm::item::help<T>::unwrap(const
> vm::item&)':
> item.h:93: error: must #include <typeinfo> before using typeid
> item.h: In function 'T vm::get(const vm::item&) [with T = int]':
> item.h:132: error: must #include <typeinfo> before using typeid
> item.h: In function 'T vm::get(const vm::item&) [with T = double]':
> item.h:140: error: must #include <typeinfo> before using typeid
> item.h: In function 'T vm::get(const vm::item&) [with T = bool]':
> item.h:148: error: must #include <typeinfo> before using typeid
> item.h: In function 'bool vm::isdefault(const vm::item&)':
> item.h:158: error: must #include <typeinfo> before using typeid
> make[1]: *** [camperror.o] Error 1
> make[1]: Leaving directory `/build/tbm/asymptote-1.23'
> make: *** [debian/stamp-makefile-build] Error 2
> ******************************************************************************
> Build finished at 20070427-0012
> FAILED [dpkg-buildpackage died]
--- item.h~ 2007-04-27 07:21:35.000000000 +0000
+++ item.h 2007-04-27 07:21:48.000000000 +0000
@@ -10,6 +10,8 @@
#include "common.h"
+#include <typeinfo>
+
namespace vm {
class item;
--- fftw++.h~ 2007-04-27 07:33:44.000000000 +0000
+++ fftw++.h 2007-04-27 07:33:54.000000000 +0000
@@ -20,6 +20,7 @@
#define __FFTWPP_H_VERSION__ 1.03
+#include <cstdlib>
#include <fstream>
#include <iostream>
#include <fftw3.h>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]