[email protected]
[Top] [All Lists]

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

Subject: Bug#417205: marked as forwarded FTBFS with GCC 4.3: missing #includes
From: Debian Bug Tracking System
Date: Tue, 03 Apr 2007 15:43:03 +0000
Your message dated Tue, 3 Apr 2007 16:58:59 +0200
with message-id <[email protected]>
has caused the Debian Bug report #417205,
regarding FTBFS with GCC 4.3: missing #includes
to be marked as having been forwarded to the upstream software
author(s) Luca Padovani <[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: Re: Bug#417205: FTBFS with GCC 4.3: missing #includes
From: Stefano Zacchiroli
Date: Tue, 3 Apr 2007 16:58:59 +0200
Forwarding upstream, patch included.

On Sun, Apr 01, 2007 at 09:10:20PM +0100, Martin Michlmayr wrote:
> Package: gmetadom
> Version: 0.2.4-3
> 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 gmetadom_0.2.4-3 on em64t by sbuild/amd64 0.53
> ...
> >  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/libgdome 
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> > -I./../include -g -Wall -O2 -c GdomeSmartDOMGdomeString.cc  -fPIC -DPIC -o 
> > .libs/GdomeSmartDOMGdomeString.o
> > GdomeSmartDOMGdomeString.cc: In constructor 
> > 'GdomeSmartDOM::GdomeString::GdomeString(const GdomeSmartDOM::UTF8String&)':
> > GdomeSmartDOMGdomeString.cc:238: error: 'malloc' was not declared in this 
> > scope
> > GdomeSmartDOMGdomeString.cc: In constructor 
> > 'GdomeSmartDOM::GdomeString::GdomeString(const 
> > GdomeSmartDOM::UTF16String&)':
> > GdomeSmartDOMGdomeString.cc:253: error: 'malloc' was not declared in this 
> > scope
> > GdomeSmartDOMGdomeString.cc: In constructor 
> > 'GdomeSmartDOM::GdomeString::GdomeString(const GdomeSmartDOM::UCS4String&)':
> > GdomeSmartDOMGdomeString.cc:269: error: 'malloc' was not declared in this 
> > scope
> > make[6]: *** [GdomeSmartDOMGdomeString.lo] Error 1
> > make[6]: Leaving directory 
> > `/build/tbm/gmetadom-0.2.4/src/gdome_cpp_smart/basic'
> 
> --- src/gdome_cpp_smart/basic/GdomeSmartDOMGdomeString.cc~    2007-04-01 
> 20:00:01.000000000 +0000
> +++ src/gdome_cpp_smart/basic/GdomeSmartDOMGdomeString.cc     2007-04-01 
> 20:00:14.000000000 +0000
> @@ -23,6 +23,7 @@
>  
>  #include <config.h>
>  
> +#include <cstdlib>
>  #include <string>
>  
>  #include <gdome.h>
> --- src/gdome_cpp_smart/test/main.cc~ 2007-04-01 20:02:52.000000000 +0000
> +++ src/gdome_cpp_smart/test/main.cc  2007-04-01 20:02:58.000000000 +0000
> @@ -23,6 +23,7 @@
>  
>  #include <config.h>
>  
> +#include <cstdlib>
>  #include <cassert>
>  
>  #include <gdome.h>
> --- src/gdome_cpp_smart/test/deep.cc~ 2007-04-01 20:03:26.000000000 +0000
> +++ src/gdome_cpp_smart/test/deep.cc  2007-04-01 20:03:34.000000000 +0000
> @@ -23,6 +23,7 @@
>  
>  #include <config.h>
>  
> +#include <cstdlib>
>  #include <gdome.h>
>  #include <iostream>

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
[email protected]{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

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