Changes between Initial Version and Version 16 of Ticket #273


Ignore:
Timestamp:
Jan 18, 2010, 10:23:17 AM (14 years ago)
Author:
mloskot
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #273

    • Property Owner changed from pramsey to strk
    • Property Cc ragi@… added
    • Property Status newclosed
    • Property Resolutionfixed
  • Ticket #273 – Description

    initial v16  
    331. 'finite' function is not defined in MinGW
    44
    5 /// error message ///[[BR]]
     5{{{
     6/// error message ///
    67libtool: 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
    78In file included from ../../../source/headers/geos/geom/Geometry.h:26,
     
    1011../../../source/headers/geos/platform.h:64: error: `finite' was not declared in this scope
    1112../../../source/headers/geos/platform.h:64: warning: unused variable 'finite'
    12 make[4]: *** [IndexedPointInAreaLocator.lo] Error 1[[BR]]
    13 /////
     13make[4]: *** [IndexedPointInAreaLocator.lo] Error 1
     14}}}
    1415
    1516I 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.
     
    20212.dllimport error
    2122
    22 /// error message ///[[BR]]
     23{{{
     24/// error message ///
    2325HCoordinate.cpp:233: warning: non-inline function 'void geos::algorithm::HCoordinate::getCoordinate(geos::geom::Coordinate&) const' is defined after prior declaration as dllimport: attribute ignored
    2426HCoordinate.cpp:233: warning: 'void geos::algorithm::HCoordinate::getCoordinate(geos::geom::Coordinate&) const' defined locally after being referenced with dllimport linkage
    2527HCoordinate.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 //////
     28HCoordinate.cpp:130: internal compiler error: in rest_of_handle_final, at toplev.c:2067
     29}}}
    2830
    2931I had modified source/headers/geos/export.h(see attached patch).
    3032I think that if no preprocessor definition (like GEOS_DLL_XXX), GEOS_DLL should be defined as null word, but I hope someone check this.
    3133
    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'''
     35I had set MinGW environment referring to the following site, http://trac.osgeo.org/postgis/wiki/UsersWikiWinCompile and, modify some files.
    3636
    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
    4043{{{
    4144#!cpp
     
    5457}}}
    5558
    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
    5965{{{
    6066#!c