[MacPorts] #57513: bazel @0.18.0: error: no type named 'unique_ptr' in namespace 'std'

MacPorts noreply at macports.org
Mon Nov 5 16:48:52 UTC 2018


#57513: bazel @0.18.0: error: no type named 'unique_ptr' in namespace 'std'
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  RootFunction
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  bazel
------------------------+--------------------------
 [https://build.macports.org/builders/ports-10.8_x86_64_legacy-
 builder/builds/77934/steps/install-port/logs/stdio bazel fails to build on
 10.8] and earlier:

 {{{
 In file included from src/main/cpp/util/strings.cc:14:
 ./src/main/cpp/util/strings.h:117:6: error: no type named 'unique_ptr' in
 namespace 'std'
 std::unique_ptr<char[]> WstringToCstring(const wchar_t *input);
 ~~~~~^
 }}}

 Sounds like it may need the cxx11 1.1 portgroup at least.

-- 
Ticket URL: <https://trac.macports.org/ticket/57513>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list