Re: [MacPorts] #69638: libSDL2pp does not build on 10.7–10.12: Undefined symbols for architecture x86_64: "std::bad_optional_access::~bad_optional_access()" etc.

MacPorts noreply at macports.org
Sun Mar 31 23:10:42 UTC 2024


#69638: libSDL2pp does not build on 10.7–10.12: Undefined symbols for architecture
x86_64: "std::bad_optional_access::~bad_optional_access()" etc.
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  barracuda156
  barracuda156           |
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.1
Resolution:              |   Keywords:  sierra, elcapitan, yosemite,
      Port:  libSDL2pp   |  mavericks, mountainlion, lion
-------------------------+-------------------------------------------------

Comment (by barracuda156):

 Replying to [comment:1 ryandesign]:
 > [https://developer.apple.com/xcode/cpp/#c++17 Yup]:
 >
 > > `bad_optional_access` and `bad_any_cast`, and methods that throw them:
 `optional::value` and `any_cast` require macOS 10.13, iOS 12.0, tvOS 12.0,
 watchOS 5.0

 Do we have a solution for Clang-using systems? The port builds fine on
 10.6 with GCC and passes tests, FWIW.

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


More information about the macports-tickets mailing list