[email protected]
[Top] [All Lists]

Bug#417768: marked as forwarded (FTBFS with GCC 4.3: missing #includes)

Subject: Bug#417768: marked as forwarded FTBFS with GCC 4.3: missing #includes
From: Debian Bug Tracking System
Date: Wed, 04 Apr 2007 20:51:10 +0000
Your message dated Wed, 4 Apr 2007 22:48:52 +0200
with message-id <[email protected]>
has caused the Debian Bug report #417768,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: : [Pkg-scicomp-devel] Bug#417768: FTBFS with GCC 4.3: missing #includes]
From: Rafael Laboissiere
Date: Wed, 4 Apr 2007 22:48:52 +0200
package xmds
tags 417768 upstream
thanks

Below is a bug report filed against the Debian xmds package. There is a
current effort to build the whole Debian archive with the forthcoming
version of GCC (4.3).  The proposed patch is quite small and works with
gcc-4.1.2 also.

Best,

Rafael Laboissiere


----- Forwarded message from Martin Michlmayr <[email protected]> -----

From: Martin Michlmayr <[email protected]>
Subject: [Pkg-scicomp-devel] Bug#417768: FTBFS with GCC 4.3: missing
        #includes
Date: Wed, 4 Apr 2007 16:24:21 +0200
To: [email protected]
Reply-To: Martin Michlmayr <[email protected]>, [email protected]
Message-ID: <[email protected]>

Package: xmds
Version: 1.5.3-8
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 xmds_1.5.3-8 on coconut0 by sbuild/ia64 0.49
...
> g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -O2 -c -o xsilfield.o `test -f 
> 'xsilfield.cc' || echo './'`xsilfield.cc
> xsilfield.cc: In member function 'void xsilField::writeAsFormat(FILE*, const 
> outputFormatEnum&, const long int&, const char*)':
> xsilfield.cc:792: error: 'exit' was not declared in this scope
> xsilfield.cc:803: error: 'exit' was not declared in this scope

--- source/xsilfield.cc~        2007-04-04 14:15:44.000000000 +0000
+++ source/xsilfield.cc 2007-04-04 14:15:50.000000000 +0000
@@ -31,6 +31,7 @@
   More detailed explanation...
 */
 
+#include<cstdlib>
 #include<string>
 #include<ctype.h>
 #include<xmlbasics.h>
--- source/xmdsintegrateark45.cc~       2007-04-04 14:17:40.000000000 +0000
+++ source/xmdsintegrateark45.cc        2007-04-04 14:17:48.000000000 +0000
@@ -31,6 +31,7 @@
   More detailed explanation...
 */
 
+#include<cstdlib>
 #include<xmlbasics.h>
 #include<dom3.h>
 #include<xmdsutils.h>
--- source/xmdssimulation.cc~   2007-04-04 14:18:13.000000000 +0000
+++ source/xmdssimulation.cc    2007-04-04 14:18:21.000000000 +0000
@@ -30,6 +30,7 @@
   More detailed explanation...
 */
 
+#include<cstdlib>
 #include<xmlbasics.h>
 #include<dom3.h>
 #include<xmdsutils.h>

-- 
Martin Michlmayr
http://www.cyrius.com/


_______________________________________________
Pkg-scicomp-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-scicomp-devel


----- End forwarded message -----


--- End Message ---
<Prev in Thread] Current Thread [Next in Thread>
  • Bug#417768: marked as forwarded (FTBFS with GCC 4.3: missing #includes), Debian Bug Tracking System <=