Your message dated Mon, 03 Mar 2008 01:03:51 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#417690: FTBFS with GCC 4.3: missing #includes
has caused the Debian Bug report #417690,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
417690: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417690
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: simgear
Version: 0.3.10-2
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. (Currently not available for i386, but for amd64, powerpc
and ia64. I hope to have i386 binaries in the archive in ~3 weeks.)
> Automatic build of simgear_0.3.10-2 on coconut0 by sbuild/ia64 0.49
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../.. -fPIC -pipe -g -O2
> -D_REENTRANT -MT tabbed_values.o -MD -MP -MF ".deps/tabbed_values.Tpo" -c -o
> tabbed_values.o tabbed_values.cxx; \
> then mv -f ".deps/tabbed_values.Tpo" ".deps/tabbed_values.Po"; else rm
> -f ".deps/tabbed_values.Tpo"; exit 1; fi
> tabbed_values.cxx: In member function 'double
> SGTabbedValues::getDoubleAt(unsigned int) const':
> tabbed_values.cxx:89: error: 'strtod' was not declared in this scope
> tabbed_values.cxx: In member function 'long int
> SGTabbedValues::getLongAt(unsigned int) const':
> tabbed_values.cxx:98: error: 'strtol' was not declared in this scope
> make[4]: *** [tabbed_values.o] Error 1
--- simgear/io/sg_serial.cxx~ 2007-04-04 10:13:49.000000000 +0000
+++ simgear/io/sg_serial.cxx 2007-04-04 10:13:57.000000000 +0000
@@ -28,6 +28,8 @@
#include <simgear/debug/logstream.hxx>
#include <simgear/serial/serial.hxx>
+#include <cstdlib>
+
#include "sg_serial.hxx"
SG_USING_STD(string);
--- simgear/misc/tabbed_values.hxx~ 2007-04-04 10:08:44.000000000 +0000
+++ simgear/misc/tabbed_values.hxx 2007-04-04 10:08:51.000000000 +0000
@@ -25,6 +25,7 @@
#include <simgear/compiler.h>
+#include <cstdlib>
#include <vector>
#include STL_STRING
--- simgear/screen/shader.cpp~ 2007-04-04 10:19:14.000000000 +0000
+++ simgear/screen/shader.cpp 2007-04-04 10:20:07.000000000 +0000
@@ -25,6 +25,7 @@
#include <simgear/debug/logstream.hxx>
#include "shader.h"
#include <stdio.h>
+#include <stdlib.h>
#include <stdarg.h>
--- simgear/screen/TestRenderTexture.cpp~ 2007-04-04 10:19:45.000000000
+0000
+++ simgear/screen/TestRenderTexture.cpp 2007-04-04 10:19:56.000000000
+0000
@@ -16,6 +16,7 @@
#include <assert.h>
#include <stdio.h>
+#include <stdlib.h>
void Reshape(int w, int h);
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Version: 1.0.0-1
Upstream had fixed it.
Martin Michlmayr skrev:
Package: simgear
Version: 0.3.10-2
--- End Message ---