[geos-devel] build failure of 3.10.3 on smartos (= illumos)

Greg Troxel gdt at lexort.com
Tue Jun 21 03:48:26 PDT 2022


Also, I should point out that we are carrying a patch, which seems like
it can't be related, but:


$NetBSD: patch-util_geosop_cxxopts.hpp,v 1.1 2022/03/27 13:33:21 tnn Exp $

On at least modern SunOS, int8_t is typedef'd to char, so parse_value()
that operates on int8_t& conflicts with the one that operates on char&.

--- util/geosop/cxxopts.hpp.orig	2022-01-15 21:14:55.000000000 +0000
+++ util/geosop/cxxopts.hpp
@@ -677,12 +677,14 @@ namespace cxxopts
       integer_parser(text, value);
     }
 
+#if !defined(__sun)
     inline
     void
     parse_value(const std::string& text, int8_t& value)
     {
       integer_parser(text, value);
     }
+#endif
 
     inline
     void
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20220621/4613611e/attachment.sig>


More information about the geos-devel mailing list