[geos-commits] [SCM] geos branch master updated. 94243cfcd1a2f7e9cadebbf2abaad05cefe7e5e5

git at osgeo.org git at osgeo.org
Sat Jan 6 01:53:14 PST 2018


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, master has been updated
       via  94243cfcd1a2f7e9cadebbf2abaad05cefe7e5e5 (commit)
      from  230f915b78ebc3b02eb273310d8dec1a72698dac (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 94243cfcd1a2f7e9cadebbf2abaad05cefe7e5e5
Author: Evgeniy A. Dushistov <dushistov at mail.ru>
Date:   Fri Jan 5 22:41:12 2018 +0300

    fix build under Visual Studio

diff --git a/include/geos/geom/Geometry.h b/include/geos/geom/Geometry.h
index 0163248..d9ed9c4 100644
--- a/include/geos/geom/Geometry.h
+++ b/include/geos/geom/Geometry.h
@@ -22,8 +22,13 @@
 #define GEOS_GEOM_GEOMETRY_H
 
 #ifndef USE_UNSTABLE_GEOS_CPP_API
+#ifndef _MSC_VER
 # warning "The GEOS C++ API is unstable, please use the C API instead"
 # warning "HINT: #include geos_c.h"
+#else
+#pragma message("The GEOS C++ API is unstable, please use the C API instead")
+#pragma message("HINT: #include geos_c.h")
+#endif
 #endif
 
 #include <geos/export.h>

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

Summary of changes:
 include/geos/geom/Geometry.h |    5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
geos


More information about the geos-commits mailing list