[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 17:52:20 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:
 Keywords:  lion    |       Port:  qt56-qtbase
--------------------+---------------------------------
 on the latest revbump of qt56-qtbase, I see this on Lion. It last built
 about a year ago without trouble, I notice. Looks like a c++ standard
 thing?
 {{{
 /opt/local/bin/clang++-mp-5.0 -c -D_GLIBCXX_USE_CXX11_ABI=0 -ffunction-
 sections -Os -fPIC -std=c++1z -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
 -mmacosx-version-min=10.7 -fno-exceptions -Wall -W -DQT_NO_MTDEV
 -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT
 -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
 -DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE
 -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE
 -DQT_NO_DEPRECATED -DQT_NO_TRANSLATION -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1
 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING_QT
 -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
 -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
 -I. -I../../../include -I../../../include/QtCore
 -I../../../include/QtCore/5.6.3 -I../../../include/QtCore/5.6.3/QtCore
 -I../../../include/QtXml -I../../../include/QtXml/5.6.3
 -I../../../include/QtXml/5.6.3/QtXml -I/opt/local/include/openssl-1.0
 -I../../../mkspecs/macx-clang -o .obj/qtextcodec.o
 ../../corelib/codecs/qtextcodec.cpp
 In file included from ../../corelib/codecs/qlatincodec.cpp:34:
 In file included from ../../corelib/codecs/qlatincodec_p.h:48:
 In file included from ../../../include/QtCore/qtextcodec.h:1:
 In file included from
 ../../../include/QtCore/../../src/corelib/codecs/qtextcodec.h:37:
 In file included from ../../../include/QtCore/qstring.h:1:
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:756:55: error:
 no type named 'u16string' in namespace 'std'
     static inline QString fromStdU16String(const std::u16string &s);
                                                  ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:757:17: error:
 no type named 'u16string' in namespace 'std'
     inline std::u16string toStdU16String() const;
            ~~~~~^
 In file included from ../../corelib/codecs/qtextcodec.cpp:35:
 In file included from ../../corelib/codecs/qtextcodec.h:37:
 In file included from ../../../include/QtCore/qstring.h:1:
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:756:55: error:
 no type named 'u16string' in namespace 'std'
     static inline QString fromStdU16String(const std::u16string &s);
                                                  ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:757:17: error:
 no type named 'u16string' in namespace 'std'
     inline std::u16string toStdU16String() const;
            ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:758:55: error:
 no type named 'u32string' in namespace 'std'
     static inline QString fromStdU32String(const std::u32string &s);
                                                  ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:759:17: error:
 no type named 'u32string' in namespace 'std'
     inline std::u32string toStdU32String() const;
            ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1320:53: error:
 no type named 'u16string' in namespace 'std'
 inline QString QString::fromStdU16String(const std::u16string &s)
                                                ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1323:13: error:
 no type named 'u16string' in namespace 'std'
 inline std::u16string QString::toStdU16String() const
        ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1324:15: error:
 no member named 'u16string' in namespace 'std'
 { return std::u16string(reinterpret_cast<const char16_t*>(utf16()),
 length()); }
          ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:758:55: error:
 no type named 'u32string' in namespace 'std'
     static inline QString fromStdU32String(const std::u32string &s);
                                                  ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:759:17: error:
 no type named 'u32string' in namespace 'std'
     inline std::u32string toStdU32String() const;
            ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1326:53: error:
 no type named 'u32string' in namespace 'std'
 inline QString QString::fromStdU32String(const std::u32string &s)
                                                ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1329:13: error:
 no type named 'u32string' in namespace 'std'
 inline std::u32string QString::toStdU32String() const
        ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1331:19: error:
 expected ';' after expression
     std::u32string u32str(length(), char32_t(0));
                   ^
                   ;
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1331:10: error:
 no member named 'u32string' in namespace 'std'
     std::u32string u32str(length(), char32_t(0));
     ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1331:20: error:
 use of undeclared identifier 'u32str'
     std::u32string u32str(length(), char32_t(0));
                    ^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1332:75: error:
 use of undeclared identifier 'u32str'
     int len = toUcs4_helper(d->data(), length(),
 reinterpret_cast<uint*>(&u32str[0]));
 ^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1320:53: error:
 no type named 'u16string' in namespace 'std'
 inline QString QString::fromStdU16String(const std::u16string &s)
                                                ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1333:5: error:
 use of undeclared identifier 'u32str'
     u32str.resize(len);
     ^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1334:12: error:
 use of undeclared identifier 'u32str'
     return u32str;
            ^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1323:13: error:
 no type named 'u16string' in namespace 'std'
 inline std::u16string QString::toStdU16String() const
        ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1324:15: error:
 no member named 'u16string' in namespace 'std'
 { return std::u16string(reinterpret_cast<const char16_t*>(utf16()),
 length()); }
          ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1326:53: error:
 no type named 'u32string' in namespace 'std'
 inline QString QString::fromStdU32String(const std::u32string &s)
                                                ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1329:13: error:
 no type named 'u32string' in namespace 'std'
 inline std::u32string QString::toStdU32String() const
        ~~~~~^
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1331:19: error:
 expected ';' after expression
     std::u32string u32str(length(), char32_t(0));
                   ^
                   ;
 ../../../include/QtCore/../../src/corelib/tools/qstring.h:1331:10: error:
 no member named 'u32string' in namespace 'std'
     std::u32string u32str(length(), char32_t(0));
     ~~~~~^
 }}}

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


More information about the macports-tickets mailing list