[email protected]
[Top] [All Lists]

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

Subject: Bug#417228: marked as forwarded FTBFS with GCC 4.3: missing #includes
From: Debian Bug Tracking System
Date: Tue, 03 Apr 2007 15:18:43 +0000
Your message dated Tue, 3 Apr 2007 16:59:54 +0200
with message-id <[email protected]>
has caused the Debian Bug report #417228,
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#417228: FTBFS with GCC 4.3: missing #includes
From: Stefano Zacchiroli
Date: Tue, 3 Apr 2007 16:59:54 +0200
Forwarding upstream, patch included.

On Sun, Apr 01, 2007 at 10:12:34PM +0100, Martin Michlmayr wrote:
> Package: gtkmathview
> Version: 0.7.7-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.
> 
> >  g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../auto -I../../../auto 
> > -I../../../src/common -I../../../src/common/mathvariants/ 
> > -I../../../src/engine/common -I../../../src/frontend/common 
> > -I../../../src/backend/common -DGMV_MathView_DLL -g -Wall -O2 -W -Wall -c 
> > MathMLTableFormatter.cc  -fPIC -DPIC -o 
> > .libs/libmathml_la-MathMLTableFormatter.o
> > MathMLTableFormatter.cc: In member function 'void 
> > MathMLTableFormatter::init(const FormattingContext&, unsigned int, unsigned 
> > int, const std::vector<SmartPtr<MathMLTableCellElement>, 
> > std::allocator<SmartPtr<MathMLTableCellElement> > >&, const 
> > std::vector<SmartPtr<MathMLTableCellElement>, 
> > std::allocator<SmartPtr<MathMLTableCellElement> > >&, const 
> > SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&, const 
> > SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&, const 
> > SmartPtr<Value>&, const SmartPtr<Value>&, const SmartPtr<Value>&, const 
> > SmartPtr<Value>&)':
> > MathMLTableFormatter.cc:91: error: 'find_if' is not a member of 'std'
> > MathMLTableFormatter.cc:104: warning: comparison of unsigned expression >= 
> > 0 is always true
> 
> --- src/engine/mathml/traverseAux.cc~ 2007-04-01 20:51:16.000000000 +0000
> +++ src/engine/mathml/traverseAux.cc  2007-04-01 20:51:22.000000000 +0000
> @@ -22,6 +22,7 @@
>  
>  #include <config.h>
>  #include <assert.h>
> +#include <algorithm>
>  
>  #include "traverseAux.hh"
>  #include "MathMLElement.hh"
> --- src/engine/mathml/MathMLTableFormatter.cc~        2007-04-01 
> 20:49:57.000000000 +0000
> +++ src/engine/mathml/MathMLTableFormatter.cc 2007-04-01 20:50:03.000000000 
> +0000
> @@ -22,6 +22,7 @@
>  
>  #include <config.h>
>  
> +#include <algorithm>
>  #include <cassert>
>  
>  #include "Adapters.hh"
> --- viewer/aux.cc~    2007-04-01 21:05:38.000000000 +0000
> +++ viewer/aux.cc     2007-04-01 21:05:50.000000000 +0000
> @@ -21,6 +21,7 @@
>  // <[email protected]>
>  
>  #include <config.h>
> +#include <cstdlib>
>  #include <assert.h>
>  
>  #include <sstream>

-- 
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#417228: marked as forwarded (FTBFS with GCC 4.3: missing #includes), Debian Bug Tracking System <=