[ 71%] Building CXX object src/plugins/platforms/os2/CMakeFiles/QOS2IntegrationPlugin.dir/qos2mime.cpp.o U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In static member function 'static QList QOS2Mime::allConvertersFromFormats(const QList&)': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:275:22: error: expected primary-expression before '*' token 275 | foreach(QOS2Mime *mime, mimes) { | ^ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:275:23: error: 'mime' was not declared in this scope; did you mean 'time'? 275 | foreach(QOS2Mime *mime, mimes) { | ^~~~ | time U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:275:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 275 | foreach(QOS2Mime *mime, mimes) { | ^~~~~~~ | fread U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:270:79: warning: unused parameter 'formats' [-Wunused-parameter] 270 | QList QOS2Mime::allConvertersFromFormats(const QList &formats) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In static member function 'static QList QOS2Mime::allConvertersFromMimeData(const QMimeData*)': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:308:22: error: expected primary-expression before '*' token 308 | foreach(QOS2Mime *mime, mimes) { | ^ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:308:23: error: 'mime' was not declared in this scope; did you mean 'time'? 308 | foreach(QOS2Mime *mime, mimes) { | ^~~~ | time U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:308:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 308 | foreach(QOS2Mime *mime, mimes) { | ^~~~~~~ | fread U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:303:77: warning: unused parameter 'mimeData' [-Wunused-parameter] 303 | QList QOS2Mime::allConvertersFromMimeData(const QMimeData *mimeData) | ~~~~~~~~~~~~~~~~~^~~~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In member function 'virtual QVariant QOS2MimeText::convertFromFormat(ULONG, ULONG, ULONG, const QString&, QMetaType::Type) const': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:546:33: warning: 'static QString QString::fromUtf16(const ushort*, qsizetype)' is deprecated: Use char16_t* overload. [-Wdeprecated-declarations] 546 | str = QString::fromUtf16((const unsigned short *)data); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qstring.h:1, from U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qhashfunctions.h:44, from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qhashfunctions.h:1, from U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qhash.h:45, from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qhash.h:1, from U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/io/qdebug.h:45, from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qdebug.h:1, from U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/io/qloggingcategory.h:44, from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qloggingcategory.h:1, from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/QLoggingCategory:1, from U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2context.h:45, from U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:40: U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/text/qstring.h:795:20: note: declared here 795 | static QString fromUtf16(const ushort *str, qsizetype size = -1) | ^~~~~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:550:23: warning: comparison between 'enum QMetaType::Type' and 'enum QVariant::Type' [-Wenum-compare] 550 | if (preferredType == QVariant::String) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In destructor 'virtual QOS2MimeAnyMime::~QOS2MimeAnyMime()': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:612:19: error: expected primary-expression before 'cf' 612 | foreach(ULONG cf, cfMap.values()) | ^~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:612:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 612 | foreach(ULONG cf, cfMap.values()) | ^~~~~~~ | fread U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In member function 'virtual QList QOS2MimeAnyMime::formatsForMimeData(const QMimeData*) const': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:621:22: error: expected primary-expression before 'mime' 621 | foreach (QString mime, mimes) { | ^~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:621:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 621 | foreach (QString mime, mimes) { | ^~~~~~~ | fread U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In member function 'virtual QList QOS2MimeAnyMime::mimesForFormats(const QList&) const': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:661:20: error: expected primary-expression before 'format' 661 | foreach (ULONG format, formats) { | ^~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:661:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 661 | foreach (ULONG format, formats) { | ^~~~~~~ | fread U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp: In member function 'ULONG QOS2MimeAnyMime::registerMimeType(const QString&) const': U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:710:21: error: expected primary-expression before 'prefix' 710 | foreach(QString prefix, ianaTypes) { | ^~~~~~ U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:710:5: error: 'foreach' was not declared in this scope; did you mean 'fread'? 710 | foreach(QString prefix, ianaTypes) { | ^~~~~~~ | fread In file included from U:/DEV/qtbase-everywhere-src-6.2.4/build/include/QtCore/qlist.h:1, from U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qhash.h:47: U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qlist.h: In instantiation of 'qsizetype QtPrivate::indexOf(const QList&, const U&, qsizetype) [with V = long unsigned int; U = int; qsizetype = int]': U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qlist.h:918:30: required from 'qsizetype QListSpecialMethodsBase::indexOf(const AT&, qsizetype) const [with AT = int; T = long unsigned int; qsizetype = int]' U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qlist.h:80:31: required from 'bool QListSpecialMethodsBase::contains(const AT&) const [with AT = int; T = long unsigned int]' U:/DEV/qtbase-everywhere-src-6.2.4/src/plugins/platforms/os2/qos2mime.cpp:510:25: required from here U:/dev/qtbase-everywhere-src-6.2.4/src/corelib/tools/qlist.h:889:20: warning: comparison of integer expressions of different signedness: 'const long unsigned int' and 'const int' [-Wsign-compare] 889 | if (*n == u) | ~~~^~~~ make[1]: *** [src/plugins/platforms/os2/CMakeFiles/QOS2IntegrationPlugin.dir/qos2mime.cpp.o] Error 1 make: *** [qos2mime.cpp.o] Error 2