[geos-devel] build error on Mac

David Burken dburken at comcast.net
Thu Jun 14 13:30:25 PDT 2012


Hi,

Latest error in svn.  I'll do a ticket....

Darwin Kernel Version 11.4.0
gcc version 4.2.1

n file included from /work/osgeo/geos/geos-svn/capi/geos_c.cpp:48:
/work/osgeo/geos/geos-svn/capi/geos_c.h:1196:9: warning: struct 
'WKTReader' was previously declared as a class
       [-Wmismatched-tags]
typedef struct GEOSWKTReader_t GEOSWKTReader;
         ^
/work/osgeo/geos/geos-svn/include/geos/io/WKTReader.h:58:16: note: 
previous use is here
class GEOS_DLL WKTReader {
                ^
/work/osgeo/geos/geos-svn/capi/geos_c.h:1196:9: note: did you mean class 
here?
typedef struct GEOSWKTReader_t GEOSWKTReader;
         ^~~~~~
         class
/work/osgeo/geos/geos-svn/capi/geos_c.h:1197:9: warning: struct 
'WKTWriter' was previously declared as a class
       [-Wmismatched-tags]
typedef struct GEOSWKTWriter_t GEOSWKTWriter;
         ^
/work/osgeo/geos/geos-svn/include/geos/io/WKTWriter.h:79:16: note: 
previous use is here
class GEOS_DLL WKTWriter {
                ^
/work/osgeo/geos/geos-svn/capi/geos_c.h:1197:9: note: did you mean class 
here?
typedef struct GEOSWKTWriter_t GEOSWKTWriter;
         ^~~~~~
         class
/work/osgeo/geos/geos-svn/capi/geos_c.h:1198:9: warning: struct 
'WKBReader' was previously declared as a class
       [-Wmismatched-tags]
typedef struct GEOSWKBReader_t GEOSWKBReader;
         ^
/work/osgeo/geos/geos-svn/include/geos/io/WKBReader.h:79:16: note: 
previous use is here
class GEOS_DLL WKBReader {
                ^
/work/osgeo/geos/geos-svn/capi/geos_c.h:1198:9: note: did you mean class 
here?
typedef struct GEOSWKBReader_t GEOSWKBReader;
         ^~~~~~
         class
/work/osgeo/geos/geos-svn/capi/geos_c.h:1199:9: warning: struct 
'WKBWriter' was previously declared as a class
       [-Wmismatched-tags]
typedef struct GEOSWKBWriter_t GEOSWKBWriter;
         ^
/work/osgeo/geos/geos-svn/include/geos/io/WKBWriter.h:72:16: note: 
previous use is here
class GEOS_DLL WKBWriter {
                ^
/work/osgeo/geos/geos-svn/capi/geos_c.h:1199:9: note: did you mean class 
here?
typedef struct GEOSWKBWriter_t GEOSWKBWriter;
         ^~~~~~
         class
/work/osgeo/geos/geos-svn/capi/geos_c.cpp:118:1: error: unknown type 
name 'GEOSInterruptCallback'; did you mean
       'GEOSQueryCallback'?
GEOSInterruptCallback*
^~~~~~~~~~~~~~~~~~~~~
GEOSQueryCallback
/work/osgeo/geos/geos-svn/capi/geos_c.h:138:16: note: 
'GEOSQueryCallback' declared here
typedef void (*GEOSQueryCallback)(void *item, void *userdata);
                ^
/work/osgeo/geos/geos-svn/capi/geos_c.cpp:119:32: error: use of 
undeclared identifier 'GEOSInterruptCallback'; did you mean
       'GEOSQueryCallback'?
GEOS_interruptRegisterCallback(GEOSInterruptCallback* cb)
                                ^
/work/osgeo/geos/geos-svn/capi/geos_c.cpp:119:55: error: use of 
undeclared identifier 'cb'
GEOS_interruptRegisterCallback(GEOSInterruptCallback* cb)
                                                       ^
/work/osgeo/geos/geos-svn/capi/geos_c.cpp:119:58: error: expected ';' 
after top level declarator
GEOS_interruptRegisterCallback(GEOSInterruptCallback* cb)


More information about the geos-devel mailing list