[geos-commits] [SCM] GEOS branch main updated. fa3b4ef70cd386135f5687720d0efc22ab770c22

git at osgeo.org git at osgeo.org
Fri Jun 30 08:33:15 PDT 2023


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, main has been updated
       via  fa3b4ef70cd386135f5687720d0efc22ab770c22 (commit)
      from  82633dd536e15b7b9842da81f6458d01611f71a1 (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 fa3b4ef70cd386135f5687720d0efc22ab770c22
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jun 30 08:32:41 2023 -0700

    Quiet MSVC warning on static calls within lambdas. References GH-929

diff --git a/util/geosop/GeometryOp.cpp b/util/geosop/GeometryOp.cpp
index 59c01b644..b66531293 100644
--- a/util/geosop/GeometryOp.cpp
+++ b/util/geosop/GeometryOp.cpp
@@ -69,6 +69,13 @@
 #include <sstream>
 #include <iomanip>
 
+// Quiet MSVC warning we cannot fix without
+// a bunch of function renaming,
+// see https://github.com/libgeos/geos/issues/929
+#ifdef _MSC_VER
+#pragma warning (disable : 4573)
+#endif
+
 using geos::operation::overlayng::OverlayNG;
 using geos::algorithm::distance::DiscreteFrechetDistance;
 using geos::operation::relate::RelateOp;

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

Summary of changes:
 util/geosop/GeometryOp.cpp | 7 +++++++
 1 file changed, 7 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list