[MacPorts] #64113: xxhashlib @0.8.1_0: build failure: static_assert undefined
MacPorts
noreply at macports.org
Thu Dec 2 20:40:38 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):
Well the first search result I found claimed it was a C++11 thing, but
according to [https://docs.microsoft.com/en-us/cpp/c-language/static-
assert-c?view=msvc-170 Microsoft documentation] it's a C11 thing. That
makes more sense since I don't see any C++ compiler being used in the
build.
The build does succeed on Lion, Mountain Lion, Mavericks, using Xcode
clang, so that gives me hope this can be solved on Yosemite too, but it
makes me skeptical that C11 is really required: why would it be required
on Yosemite but not on older OSes?
It also fails on Snow Leopard, with a newer MacPorts clang, with the same
message about `static_assert`.
I don't see any `-std` flag in the build either, so if C11 features are
being used, you'd think it would specify `-std=c11`.
Let me look at the code and see what's going on...
--
Ticket URL: <https://trac.macports.org/ticket/64113#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list