Changes between Initial Version and Version 16 of Ticket #273
- Timestamp:
- Jan 18, 2010, 10:23:17 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #273
- Property Owner changed from to
- Property Cc added
- Property Status new → closed
- Property Resolution → fixed
-
Ticket #273 – Description
initial v16 3 3 1. 'finite' function is not defined in MinGW 4 4 5 /// error message ///[[BR]] 5 {{{ 6 /// error message /// 6 7 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers -g -O2 -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -MT IndexedPointInAreaLocator.lo -MD -MP -MF .deps/IndexedPointInAreaLocator.Tpo -c IndexedPointInAreaLocator.cpp -DDLL_EXPORT -DPIC -o .libs/IndexedPointInAreaLocator.o 7 8 In file included from ../../../source/headers/geos/geom/Geometry.h:26, … … 10 11 ../../../source/headers/geos/platform.h:64: error: `finite' was not declared in this scope 11 12 ../../../source/headers/geos/platform.h:64: warning: unused variable 'finite' 12 make[4]: *** [IndexedPointInAreaLocator.lo] Error 1 [[BR]]13 ///// 13 make[4]: *** [IndexedPointInAreaLocator.lo] Error 1 14 }}} 14 15 15 16 I had modified source/headers/geos/platform.h.in(see attached patch), but I don't know that my modification is the valid way, so please check my patch carefully. … … 20 21 2.dllimport error 21 22 22 /// error message ///[[BR]] 23 {{{ 24 /// error message /// 23 25 HCoordinate.cpp:233: warning: non-inline function 'void geos::algorithm::HCoordinate::getCoordinate(geos::geom::Coordinate&) const' is defined after prior declaration as dllimport: attribute ignored 24 26 HCoordinate.cpp:233: warning: 'void geos::algorithm::HCoordinate::getCoordinate(geos::geom::Coordinate&) const' defined locally after being referenced with dllimport linkage 25 27 HCoordinate.cpp: In constructor `geos::algorithm::HCoordinate::HCoordinate(const geos::geom::Coordinate&)': 26 HCoordinate.cpp:130: internal compiler error: in rest_of_handle_final, at toplev.c:2067 [[BR]]27 ////// 28 HCoordinate.cpp:130: internal compiler error: in rest_of_handle_final, at toplev.c:2067 29 }}} 28 30 29 31 I had modified source/headers/geos/export.h(see attached patch). 30 32 I think that if no preprocessor definition (like GEOS_DLL_XXX), GEOS_DLL should be defined as null word, but I hope someone check this. 31 33 32 [NOTICE][[BR]] 33 I had set MinGW environment referring to the following site, 34 http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile 35 and, modify some files. 34 '''NOTICE''' 35 I had set MinGW environment referring to the following site, http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile and, modify some files. 36 36 37 *MinGW(g++-3.4.5)][[BR]] 38 \MinGW\include\c++\3.4.5\cwchar[[BR]] 39 ...comment out import (v)swprintf.[[BR]] 37 * MinGW(g++-3.4.5) 38 {{{ 39 \MinGW\include\c++\3.4.5\cwchar 40 ...comment out import (v)swprintf. 41 }}} 42 40 43 {{{ 41 44 #!cpp … … 54 57 }}} 55 58 56 *libtool(2.2.4)[[BR]] 57 \libltdl\config\ltmain.sh[[BR]] 58 ... add include <process.h>[[BR]] 59 * libtool(2.2.4) 60 {{{ 61 \libltdl\config\ltmain.sh 62 ... add include <process.h> 63 }}} 64 59 65 {{{ 60 66 #!c