[geos-commits] [SCM] geos branch warn-on-using-c++-api updated. 819b00ddfb5d8584de5954fedd9b28f9c5d0a46f

git at osgeo.org git at osgeo.org
Fri Oct 6 23:35:00 PDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "geos".

The branch, warn-on-using-c++-api has been updated
       via  819b00ddfb5d8584de5954fedd9b28f9c5d0a46f (commit)
      from  f2d5208dc073d9319fff8143c24d26b06ca33117 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 819b00ddfb5d8584de5954fedd9b28f9c5d0a46f
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Oct 7 08:34:49 2017 +0200

    Rename macro to USE_UNSTABLE_GEOS_CPP_API

diff --git a/configure.ac b/configure.ac
index 52cbe61..8d2caa2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,7 @@ AC_PROG_CC
 
 
 dnl Hush warnings
-AC_DEFINE(WE_ACKNOWLEDGE_THAT_THE_GEOS_CPLUSPLUS_API_IS_UNSTABLE, [1], [We know])
+AC_DEFINE(USE_UNSTABLE_GEOS_CPP_API, [1], [We know])
 
 dnl use libtool ----------------------------------------------------------
 AC_LIBTOOL_DLOPEN
@@ -166,7 +166,7 @@ AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -Wno-long-long], [dummy_cv_wno
 NUMERICFLAGS=""
 AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -ffloat-store], [dummy_cv_ffloat_store], [-ffloat-store], [], [NUMERICFLAGS="$NUMERICFLAGS -ffloat-store"], [])
 
-HUSHWARNING="-DWE_ACKNOWLEDGE_THAT_THE_GEOS_CPLUSPLUS_API_IS_UNSTABLE"
+HUSHWARNING="-DUSE_UNSTABLE_GEOS_CPP_API"
 DEFAULTFLAGS="${WARNFLAGS} ${NUMERICFLAGS} ${HUSHWARNING}"
 
 AM_CXXFLAGS="${AM_CXXFLAGS} ${DEFAULTFLAGS}"
diff --git a/include/geos/geom/Geometry.h b/include/geos/geom/Geometry.h
index b2609aa..0163248 100644
--- a/include/geos/geom/Geometry.h
+++ b/include/geos/geom/Geometry.h
@@ -21,7 +21,7 @@
 #ifndef GEOS_GEOM_GEOMETRY_H
 #define GEOS_GEOM_GEOMETRY_H
 
-#ifndef WE_ACKNOWLEDGE_THAT_THE_GEOS_CPLUSPLUS_API_IS_UNSTABLE
+#ifndef USE_UNSTABLE_GEOS_CPP_API
 # warning "The GEOS C++ API is unstable, please use the C API instead"
 # warning "HINT: #include geos_c.h"
 #endif

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                 |    4 ++--
 include/geos/geom/Geometry.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
geos


More information about the geos-commits mailing list