Your message dated Mon, 03 Mar 2008 14:09:12 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#417195: FTBFS with GCC 4.3: missing #includes
has caused the Debian Bug report #417195,
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.)
--
417195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417195
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: flightgear
Version: 0.9.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 from unstable.
> Automatic build of flightgear_0.9.10-2 on coconut0 by sbuild/ia64 0.49
....
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
> -I/usr/local/include -MT runways.o -MD -MP -MF ".deps/runways.Tpo" -c -o
> runways.o runways.cxx; \
> then mv -f ".deps/runways.Tpo" ".deps/runways.Po"; else rm -f
> ".deps/runways.Tpo"; exit 1; fi
> runways.cxx: In function 'std::string GetReverseRunwayNo(std::string&)':
> runways.cxx:114: error: 'atoi' was not declared in this scope
> make[3]: *** [runways.o] Error 1
--- src/Airports/runways.cxx~ 2007-04-01 18:56:51.000000000 +0000
+++ src/Airports/runways.cxx 2007-04-01 18:56:56.000000000 +0000
@@ -25,6 +25,7 @@
# include <config.h>
#endif
+#include <cstdlib>
#include <math.h> // fabs()
#include <stdio.h> // sprintf()
--- src/Airports/runwayprefs.cxx~ 2007-04-01 18:57:50.000000000 +0000
+++ src/Airports/runwayprefs.cxx 2007-04-01 18:57:57.000000000 +0000
@@ -25,6 +25,7 @@
# include <config.h>
#endif
+#include <cstdlib>
#include <math.h>
//#include <algorithm>
--- src/Airports/parking.cxx~ 2007-04-01 18:59:12.000000000 +0000
+++ src/Airports/parking.cxx 2007-04-01 18:59:19.000000000 +0000
@@ -26,6 +26,7 @@
# include <config.h>
#endif
+#include <cstdlib>
//#include <algorithm>
#include <simgear/compiler.h>
--- src/Main/util.cxx~ 2007-04-01 19:26:20.000000000 +0000
+++ src/Main/util.cxx 2007-04-01 19:26:28.000000000 +0000
@@ -20,6 +20,7 @@
#include <simgear/compiler.h>
+#include <cstdlib>
#include <math.h>
#include <vector>
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Version: 1.0.0-1
Upstream had fixed it.
Martin Michlmayr skrev:
Package: flightgear
Version: 0.9.10-2
--- End Message ---