[MacPorts] #72023: swi-prolog @9.2.9: Patch idea for macOS 10.11.6
MacPorts
noreply at macports.org
Sat Feb 8 15:53:57 UTC 2025
#72023: swi-prolog @9.2.9: Patch idea for macOS 10.11.6
--------------------------+---------------------------
Reporter: kogule | Owner: JanWielemaker
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: swi-prolog |
--------------------------+---------------------------
Comment (by JanWielemaker):
Thanks. Well, looking through the error, it seems the compiler was happy.
That should be correct and clang-16 surely supports C++-17. So, the
_header_ files __do__ have `std::shared_lock`. For the standard -lc and
-lc++ libraries the compiler should find the matching library. Apparently
it does not. That makes me conclude the your clang-16-mp compiler is
misconfigured.
Possibly you can hack around that using environment variables. It is not
an issue of SWI-Prolog though. The only sort of "patch" I'm willing to
accept for this is a CMake test that figures out that the C++ compiler is
broken and removes the C++ interface from the system as a consequence.
That is probably a try-compile test with a minimal program that makes this
fail.
--
Ticket URL: <https://trac.macports.org/ticket/72023#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list