[MacPorts] #59800: wxWidgets-3.0: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?

MacPorts noreply at macports.org
Tue Dec 3 15:42:20 UTC 2019


#59800: wxWidgets-3.0: error: unknown type name 'nullptr_t'; did you mean
'std::nullptr_t'?
----------------------------+----------------------
  Reporter:  ryandesign     |      Owner:  mojca
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.2
Resolution:                 |   Keywords:
      Port:  wxWidgets-3.0  |
----------------------------+----------------------

Comment (by jmroot):

 The fix is probably to patch it to `#include  <cstddef>` if it doesn't
 already, and change `nullptr_t` to `std::nullptr_t`. It may be including
 `stddef.h` to try to get nullptr_t in the global namespace, but some Xcode
 versions don't implement that correctly (and doing it is deprecated
 anyway).

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


More information about the macports-tickets mailing list