[MacPorts] #58211: qt56-qtbase @5.6.3_6 on Lion: error: no type named 'u16string' in namespace 'std'

MacPorts noreply at macports.org
Tue Mar 19 23:46:31 UTC 2019


#58211: qt56-qtbase @5.6.3_6 on Lion: error: no type named 'u16string' in namespace
'std'
--------------------------+---------------------------------
  Reporter:  kencu        |      Owner:  MarcusCalhoun-Lopez
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  lion
      Port:  qt56-qtbase  |
--------------------------+---------------------------------

Comment (by kencu):

 Looks like trying to build it without `c++11` isn't possible any longer:
 {{{
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -c -pipe -stdlib=libstdc++ -arch x86_64 -Os -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden
 -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV
 -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB
 -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
 -I../../../../include -I../../../../include/QtPlatformSupport
 -I../../../../include/QtPlatformSupport/5.6.3
 -I../../../../include/QtPlatformSupport/5.6.3/QtPlatformSupport
 -I../../../../include/QtPrintSupport/5.6.3
 -I../../../../include/QtPrintSupport/5.6.3/QtPrintSupport
 -I../../../../include/QtWidgets/5.6.3
 -I../../../../include/QtWidgets/5.6.3/QtWidgets
 -I../../../../include/QtGui/5.6.3 -I../../../../include/QtGui/5.6.3/QtGui
 -I../../../../include/QtPrintSupport -I../../../../include/QtWidgets
 -I../../../../include/QtGui -I../../../../include/QtCore/5.6.3
 -I../../../../include/QtCore/5.6.3/QtCore -I../../../../include/QtCore
 -I.moc
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Headers
 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers
 -isystem /opt/local/include/openssl-1.0 -I../../../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt56/qt56-qtbase/work
 /qtbase-opensource-src-5.6.3/lib -o .obj/qcocoawindow.o qcocoawindow.mm

 qcocoawindow.mm:275:38: error: use of undeclared identifier 'nullptr'
     NSEnumerator *windowEnumerator = nullptr;
                                      ^
 qcocoawindow.mm:316:73: error: expected '>'
             QCocoaWindow *cocoaWindow =
 static_cast<id<QNSWindowProtocol>>(window).helper.platformWindow;
                                                                         ^
 qcocoawindow.mm:316:73: error: expected '>'
             QCocoaWindow *cocoaWindow =
 static_cast<id<QNSWindowProtocol>>(window).helper.platformWindow;
                                                                         ^
                                                                         >
 qcocoawindow.mm:316:52: note: to match this '<'
             QCocoaWindow *cocoaWindow =
 static_cast<id<QNSWindowProtocol>>(window).helper.platformWindow;
                                                    ^
 qcocoawindow.mm:316:84: error: property 'helper' not found on object of
 type 'NSWindow *'
             QCocoaWindow *cocoaWindow =
 static_cast<id<QNSWindowProtocol>>(window).helper.platformWindow;
 ^
 }}}

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


More information about the macports-tickets mailing list