[MacPorts] #65247: OpenVPN3 build fails on older OS versions: require_free.hpp:59:14: error: expected expression
MacPorts
noreply at macports.org
Wed Apr 30 01:31:59 UTC 2025
#65247: OpenVPN3 build fails on older OS versions: require_free.hpp:59:14: error:
expected expression
----------------------------+----------------------
Reporter: iAmInActions | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: openvpn3 asio |
----------------------------+----------------------
Comment (by barracuda156):
Replying to [comment:6 jmroot]:
> The comments in `AssertMacros.h` actually discuss exactly this kind of
problem, and there is a mechanism to avoid it: simply define
`__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES` to 0 before the
header is included. It's not immediately clear where it's being pulled in,
however—could be in openvpn3, or asio, or somewhere else?
Passing `-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0` as a
cppflag fixes the whole issue. Thank you.
--
Ticket URL: <https://trac.macports.org/ticket/65247#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list