[MacPorts] #57109: cquery @20180718 shared_timed_mutex introduced in macOS 10.12

MacPorts noreply at macports.org
Sat Sep 8 05:34:12 UTC 2018


#57109: cquery @20180718 shared_timed_mutex introduced in macOS 10.12
---------------------+--------------------
  Reporter:  rurban  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  cquery  |
---------------------+--------------------
Description changed by rurban:

Old description:

> cquery-20180718_0.darwin_15 fails to build on darwin 15.6:
>
> {{{
> cquery-20180718/src/import_manager.h:30:8: error: 'shared_timed_mutex' is
> unavailable: introduced in macOS 10.12
> :info:build   std::shared_timed_mutex dependency_mutex_;
> :info:build        ^
> :info:build
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/..
> /include/c++/v1/shared_mutex:202:58: note: 'shared_timed_mutex' has been
> explicitly marked unavailable here
> }}}
>
> needs to be worked around somehow for older darwin's.

New description:

 cquery-20180718_0.darwin_15 fails to build on darwin 15.6:

 {{{
 cquery-20180718/src/import_manager.h:30:8: error: 'shared_timed_mutex' is
 unavailable: introduced in macOS 10.12
 :info:build   std::shared_timed_mutex dependency_mutex_;
 :info:build        ^
 :info:build
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/..
 /include/c++/v1/shared_mutex:202:58: note: 'shared_timed_mutex' has been
 explicitly marked unavailable here
 }}}

 needs to be worked around somehow for older darwin's.
 attached patch fixe it for me.
 See also https://github.com/cquery-project/cquery/issues/733 (without fix
 yet, but they kept working on it)

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57109#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list