[Pkg-scicomp-devel] Bug#504845: FTBFS with GCC 4.4: missing #include

Filippo Giunchedi filippo at debian.org
Tue Feb 2 01:50:51 UTC 2010


On Thu, Oct 08, 2009 at 03:50:02PM +0100, James Westby wrote:
> Hi,
> We have the same issue on Ubuntu as 4.4 is default now. The patch
> fixes that error, but it is not enough there.
> 
> make[3]: Entering directory `/tmp/buildd/freefem3d-1.0pre10/language'
> g++ -DHAVE_CONFIG_H -I. -I..   -I.. -I../solver -I../algebra -I../geometry -I../utils -I../language -I../graphics  -Wall -DNDEBUG -O2 -funroll-all-loops -fargument-noalias-global -fno-gcse -c -o Instruction.o Instruction.cpp
> In file included from Instruction.cpp:32:
> ./FunctionExpressionFEM.hpp:59:2: warning: #warning SHOULD NOT USE THIS FUNCTION
> In file included from ../solver/FEMFunction.hpp:23,
>                  from Instruction.cpp:48:
> ../solver/FiniteElementTraits.hpp:57: error: declaration of 'DiscretizationType'
> ../solver/DiscretizationType.hpp:35: error: changes meaning of 'DiscretizationType' from 'class DiscretizationType'

upstream solved this here:

http://cvs.savannah.gnu.org/viewvc/ff3d/solver/FiniteElementTraits.hpp?root=ff3d&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewvc/ff3d/solver/FEMFunction.hpp?root=ff3d&r1=1.13&r2=1.14

attached there's a patch against unstable version solved in a similar way.

I will probably NMU this package in a week or so if nobody steps up.

filippo
-- 
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

When I was young I observed that nine out of every ten things I did were
failures, so I did ten times more work.
-- George Bernard Shaw
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freefem3d_gcc44_enum.patch
Type: text/x-diff
Size: 6061 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-scicomp-devel/attachments/20100202/68798989/attachment.patch>


More information about the Pkg-scicomp-devel mailing list