Package: gpsim
Version: 0.22.0-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 from unstable.
Notes:
1) Below is the log from another package that fails to build because
of this issue, but your own package fails as well
2) Even with the patch below, this package fails to build with GCC
4.3 because of other problems. However, please fix the headers
so the other packages can build. I'll report the other issue with
gpsim later.
> Automatic build of gpsim-lcd-graphic_0.3.0-1 on coconut0 by sbuild/ia64 0.49
...
> from gpsim_modules.cc:30:
> /usr/include/gpsim/modules.h: In destructor 'ModuleLibrary::File::~File()':
> /usr/include/gpsim/modules.h:159: error: 'free' was not declared in this scope
> gpsim_modules.cc: At global scope:
> gpsim_modules.cc:47: warning: deprecated conversion from string constant to
> 'char*'
> gpsim_modules.cc:47: warning: deprecated conversion from string constant to
> 'char*'
--- src/modules.h~ 2007-04-01 20:32:17.000000000 +0000
+++ src/modules.h 2007-04-01 20:32:23.000000000 +0000
@@ -31,6 +31,7 @@
#ifndef __MODULES_H__
#define __MODULES_H__
+#include <cstdlib>
#include <list>
#include <string>
#include <map>
--- gui/settings_exdbm.cc~ 2007-04-01 20:32:06.000000000 +0000
+++ gui/settings_exdbm.cc 2007-04-01 20:32:11.000000000 +0000
@@ -20,6 +20,7 @@
Boston, MA 02111-1307, USA. */
#include "settings_exdbm.h"
+#include <cstdlib>
SettingsEXdbm::SettingsEXdbm(const char *appl_name)
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]