[geos-devel] Geos CVS compilation with GCC 4.1, include error
strk at refractions.net
strk at refractions.net
Mon Mar 20 06:43:20 EST 2006
Applied, thanks.
--strk;
On Mon, Mar 20, 2006 at 12:32:30PM +0100, Matthieu DESILE wrote:
> Hello,
>
> This morning I tried to compile geos from cvs and encountered several
> errors of the same nature, where math functions were declared out of
> scope (fabs, sin, ...), causing the compilation to abort.
>
> It seems related to the not-inclusion of <cmath>, since its inclusion
> gets rid of the errors.
>
> Attached is a patch that includes <cmath> in the sources files that were
> causing the compilation to abort.
>
> Matthieu Desile.
>
> PS: Environment :
>
> Linux studio 2.6.15-gentoo-r7 #3 SMP Sat Mar 18 19:33:50 CET 2006 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/Linux
>
> GCC :
>
> gcc (GCC) 4.1.0 (Gentoo 4.1.0)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
More information about the geos-devel
mailing list