Opened 14 years ago

Last modified 14 years ago

#335 closed defect

Compiler error related to GEOSOrientationIndex_r — at Initial Version

Reported by: cgsbob Owned by: pramsey
Priority: major Milestone:
Component: Build/Install Version: main
Severity: Unassigned Keywords:
Cc:

Description

Today I updated from svn and got this compiler error:

make[1]: Entering directory `/mnt/OldOS/home/bobm/src/gis/geos/capi'
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../include -I../include/geos -I../include -DGEOS_CAPI_VERSION='"3.3.0-CAPI-1.6.1"' -DGEOS_JTS_PORT='"1.10.0"'   -g -O2 -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -ffloat-store -MT libgeos_c_la-geos_ts_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_ts_c.Tpo -c -o libgeos_c_la-geos_ts_c.lo `test -f 'geos_ts_c.cpp' || echo './'`geos_ts_c.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../include -I../include/geos -I../include -DGEOS_CAPI_VERSION=\"3.3.0-CAPI-1.6.1\" -DGEOS_JTS_PORT=\"1.10.0\" -g -O2 -DGEOS_INLINE -pedantic -Wall -ansi -Wno-long-long -ffloat-store -MT libgeos_c_la-geos_ts_c.lo -MD -MP -MF .deps/libgeos_c_la-geos_ts_c.Tpo -c geos_ts_c.cpp  -fPIC -DPIC -o .libs/libgeos_c_la-geos_ts_c.o
geos_ts_c.cpp: In function ‘int GEOSOrientationIndex_r(GEOSContextHandle_HS*, double, double, double, double, double, double)’:
geos_ts_c.cpp:4820: error: ‘extHandle’ was not declared in this scope
geos_ts_c.cpp:4826: error: ‘extHandle’ was not declared in this scope
geos_ts_c.cpp:4838: error: expected primary-expression before ‘catch’
geos_ts_c.cpp:4838: error: expected ‘;’ before ‘catch’
geos_ts_c.cpp:4846: error: expected ‘catch’ before ‘}’ token
geos_ts_c.cpp:4846: error: expected ‘(’ before ‘}’ token
geos_ts_c.cpp:4846: error: expected type-specifier before ‘}’ token
geos_ts_c.cpp:4846: error: expected ‘)’ before ‘}’ token
geos_ts_c.cpp:4846: error: expected ‘{’ before ‘}’ token
geos_ts_c.cpp: At global scope:
geos_ts_c.cpp:4846: error: expected ‘}’ at end of input
make[1]: *** [libgeos_c_la-geos_ts_c.lo] Error 1
make[1]: Leaving directory `/mnt/OldOS/home/bobm/src/gis/geos/capi'
make: *** [all-recursive] Error 1

Change History (0)

Note: See TracTickets for help on using tickets.