#762: Compiling error on cygwin ------------------------+--------------------------- Reporter: jingsam | Owner: geos-devel@… Type: defect | Status: new Priority: major | Milestone: 3.5.1 Component: Default | Version: 3.5.0 Severity: Unassigned | Resolution: Keywords: | ------------------------+---------------------------
Comment (by jingsam): I got it. I checked the compiling command as fellows: g++ -DHAVE_CONFIG_H -I. -I../include -I../include/geos -I../include -DGEOS_CAPI_VERSION=\"3.5.0-CAPI-1.9.0\" -DGEOS_JTS_PORT=\"1.13.0\" -DGEOS_INLINE -pedantic -Wall '''-ansi''' -Wno-long-long -ffloat-store -g -O2 -MT libgeos_c_la-geos_ts_c.lo -MD -MP -MF .deps/libgeos_c_la- geos_ts_c.Tpo -c geos_ts_c.cpp -DDLL_EXPORT -DPIC -o .libs/libgeos_c_la- geos_ts_c.o The tag "-ansi" is equivalent to "-std=c++98". The function "vsnprintf()" is not implemented in ansi standard. I think GEOS should adjust the compiling command. -- Ticket URL: <http://trac.osgeo.org/geos/ticket/762#comment:2> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS). _______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/geos-devel