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:05:00 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 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

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


More information about the macports-tickets mailing list