Opened 13 years ago

Closed 13 years ago

Last modified 7 years ago

#444 closed defect (fixed)

error compiling geos

Reported by: aperi2007 Owned by: geos-devel@…
Priority: blocker Milestone: 3.3.0
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description

Hi , tryinig to compile geos trunck on debian 32bit I see this error:

...
mv -f .deps/ConvexHull.Tpo .deps/ConvexHull.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include    -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -g -O2 -MT HCoordinate.lo -MD -MP -MF .deps/HCoordinate.Tpo -c -o HCoordinate.lo HCoordinate.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include/geos -I../../include -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -g -O2 -MT HCoordinate.lo -MD -MP -MF .deps/HCoordinate.Tpo -c HCoordinate.cpp  -fPIC -DPIC -o .libs/HCoordinate.o
HCoordinate.cpp: In static member function âstatic void geos::algorithm::HCoordinate::intersection(const geos::geom::Coordinate&, const geos::geom::Coordinate&, const geos::geom::Coordinate&, const geos::geom::Coordinate&, geos::geom::Coordinate&)â:
HCoordinate.cpp:75: error: âfiniteâ is not a member of âstdâ
HCoordinate.cpp:75: error: âfiniteâ is not a member of âstdâ
HCoordinate.cpp: In member function âdouble geos::algorithm::HCoordinate::getX() constâ:
HCoordinate.cpp:152: error: âfiniteâ is not a member of âstdâ
HCoordinate.cpp: In member function âdouble geos::algorithm::HCoordinate::getY() constâ:
HCoordinate.cpp:163: error: âfiniteâ is not a member of âstdâ
make[3]: *** [HCoordinate.lo] Error 1
make[3]: Leaving directory `/home/postgres/software/geos/geos-svn/src/algorithm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/postgres/software/geos/geos-svn/src/algorithm'
make[1]: *** [all-recursive] Error 1

Change History (8)

comment:1 by aperi2007, 13 years ago

I forget the geos trunk revision: r3369

comment:2 by strk, 13 years ago

which compiler on which environment ?

comment:3 by aperi2007, 13 years ago

debian lenny 32bit

gcc -v

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)

comment:4 by strk, 13 years ago

Should be fixed by r3370, please test

comment:5 by aperi2007, 13 years ago

Resolution: fixed
Status: newclosed

Tested. It compile now. :)

comment:6 by Sandro Santilli <strk@…>, 7 years ago

In de3c6be9/git:

Do not assume isfinite is in std:: namespace to fix #444; Have RobustDeterminant use a broad 'using namespace std' to fix #442 in another way.

git-svn-id: http://svn.osgeo.org/geos/trunk@3370 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:7 by Sandro Santilli <strk@…>, 7 years ago

In de3c6be9/git:

Do not assume isfinite is in std:: namespace to fix #444; Have RobustDeterminant use a broad 'using namespace std' to fix #442 in another way.

git-svn-id: http://svn.osgeo.org/geos/trunk@3370 5242fede-7e19-0410-aef8-94bd7d2200fb

comment:8 by Sandro Santilli <strk@…>, 7 years ago

In de3c6be9/git:

Do not assume isfinite is in std:: namespace to fix #444; Have RobustDeterminant use a broad 'using namespace std' to fix #442 in another way.

git-svn-id: http://svn.osgeo.org/geos/trunk@3370 5242fede-7e19-0410-aef8-94bd7d2200fb

Note: See TracTickets for help on using tickets.