[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 12:21:29 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
 Keywords:              |       Port:  wxWidgets-3.0
------------------------+---------------------------
 xchm is failing to build at least on
 [https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/104537/steps
 /install-port/logs/stdio 10.10] and
 [https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/103195/steps
 /install-port/logs/stdio 10.11]. It looks like the problem is in
 wxWidgets-3.0:

 {{{
 In file included from chmsearchpanel.cpp:21:
 In file included from ./chmhtmlnotebook.h:25:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/aui/auibook.h:24:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/aui/tabart.h:23:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/colour.h:15:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/gdiobj.h:14:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15:
 In file included from
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:46:
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:442:27:
 error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
 wxFORMAT_STRING_SPECIFIER(nullptr_t, wxFormatString::Arg_Pointer)
                           ^~~~~~~~~
                           std::nullptr_t
 /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/strvararg.h:396:47:
 note: expanded from macro 'wxFORMAT_STRING_SPECIFIER'
     template<> struct wxFormatStringSpecifier<T>
 \
                                               ^
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cstddef:97:31:
 note: 'std::nullptr_t' declared here
     typedef decltype(nullptr) nullptr_t;
                               ^
 }}}

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


More information about the macports-tickets mailing list