Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21196


Change subject: [thirdparty] fix building mustache with clang15 on macOS
......................................................................

[thirdparty] fix building mustache with clang15 on macOS

The rationale behind this change was getting the following build error
on macOS when building mustache with clang 15.0.0 from Xcode 15.3:

  In file included from 
thirdparty/installed/uninstrumented/include/boost/type_index/stl_type_index.hpp:47:
  
thirdparty/installed/uninstrumented/include/boost/container_hash/hash.hpp:131:33:
 error: no template named 'unary_function' in namespace 'std'; did you mean 
'__unary_function'?
          struct hash_base : std::unary_function<T, std::size_t> {};
                             ~~~~~^~~~~~~~~~~~~~
                                  __unary_function
  
/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1:
 note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;

std::unary_function has been deprecated since C++11, and removed in
C++17, so it was just a matter of time when particular versions of
compilers started to strictly stick to the C++17 standard in that
regard.  A proper fix might be running cmake to configure mustache
appropriately and then running make instead of a single line of
invoking C++ compiler with a pre-determined set of flags.

Change-Id: Id97af5f7300b2ca2eef4edf33712fa6ec93daa96
---
M thirdparty/build-definitions.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/96/21196/1
--
To view, visit http://gerrit.cloudera.org:8080/21196
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id97af5f7300b2ca2eef4edf33712fa6ec93daa96
Gerrit-Change-Number: 21196
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to