[MacPorts] #64113: xxhashlib @0.8.1_0: build failure: static_assert undefined

MacPorts noreply at macports.org
Thu Dec 2 20:02:49 UTC 2021


#64113: xxhashlib @0.8.1_0: build failure: static_assert undefined
------------------------+-------------------------
  Reporter:  macdeport  |      Owner:  Schamschula
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.1
Resolution:             |   Keywords:  yosemite
      Port:  xxhashlib  |
------------------------+-------------------------

Comment (by ryandesign):

 `static_assert` is a C++11 feature. Try indicating `compiler.cxx_standard
 2011` in the Portfile to let MacPorts choose a newer compiler.

 The port has a section that applies a patch only for gcc 4. Since gcc 4
 doesn't support C++11 that section and the patchfile can probably be
 removed.

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


More information about the macports-tickets mailing list