Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0, 6.0.1, 6.1.0 FF
-
None
-
Mingw 8.1.0 64; PostgreSql 10.15-1 x64
-
-
43cb801ccb10e2d9efd230803822761b794fd4fb (qt/qtbase/dev) 2be22ecf29a0d4ec481d028242899da1bb753695 (qt/qtbase/6.1) 9d49f19291a2cf505eef1d1478b5984c4a479c15 (qt/qtbase/6.0)
Description
cmake D:\Qt\src\qt6\qtbase -DCMAKE_INSTALL_PREFIX=D:\Qt\qt-dev-mingw_64-static -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DINPUT_opengl=desktop -DMySQL_ROOT=D:\tools\mysql-connector-c-6.1.11-winx64 -DPostgreSQL_ROOT=D:\PostgreSQL\pgsql_win64 -DFEATURE_relocatable=ON -DFEATURE_static_runtime=ON -DINPUT_openssl=linked -DOPENSSL_ROOT_DIR=D:\openssl\openssl-1.1.1i-mingw64-static ...... [1232/1771] Building CXX object src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx.gch FAILED: src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx.gch D:\tools\mingw64\bin\c++.exe -DMINGW_HAS_SECURE_API=1 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_SQL_LIB -DQT_STATICPLUGIN -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN32_WINNT=0x0601 -D_WIN64 -Isrc/plugins/sqldrivers/psql/QPSQLDriverPlugin_autogen/include -ID:/Qt/src/qt6/qtbase/src/plugins/sqldrivers/psql -Isrc/plugins/sqldrivers/psql -Iinclude -Iinclude/QtCore -ID:/Qt/src/qt6/qtbase/mkspecs/win32-g++ -Isrc/corelib -Iinclude/QtCore/6.1.0 -Iinclude/QtCore/6.1.0/QtCore -Isrc/sql -Iinclude/QtSql/6.1.0 -Iinclude/QtSql/6.1.0/QtSql -Iinclude/QtSql -isystem E:/Software/Qt/PostgreSQL/pgsql_win64/include -isystem E:/Software/Qt/PostgreSQL/pgsql_win64/include/server -DNDEBUG -O2 -fvisibility=hidden -fno-keep-inline-dllexport -Wall -Wextra -fno-exceptions -Wno-error=invalid-offsetof -ffunction-sections -fdata-sections -std=c++17 -Winvalid-pch -x c++-header -include D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx -MD -MT src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx.gch -MF src\plugins\sqldrivers\psql\CMakeFiles\QPSQLDriverPlugin.dir\cmake_pch.hxx.gch.d -o src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx.gch -c src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx.cxx In file included from D:/tools/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/future:39, from D:/Qt/src/qt6/qtbase/src/corelib/thread/qthread.h:49, from include/QtCore/qthread.h:1, from D:/Qt/src/qt6/qtbase/src/corelib/thread/qthreadpool.h:45, from include/QtCore/qthreadpool.h:1, from D:/Qt/src/qt6/qtbase/src/corelib/thread/qfuture_impl.h:51, from include/QtCore/qfuture_impl.h:1, from D:/Qt/src/qt6/qtbase/src/corelib/thread/qfuture.h:48, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/include/QtCore/qfuture.h:1, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/include/QtCore/QtCore:91, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx:5, from <command-line>: D:/tools/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/thread: In function 'bool std::operator==(std::thread::id, std::thread::id)': D:/tools/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/thread:273:26: error: no match for 'operator==' (operand types are 'std::thread::native_handle_type' {aka 'ptw32_handle_t'} and 'std::thread::native_handle_type' {aka 'ptw32_handle_t'}) return __x._M_thread == __y._M_thread; ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from D:/tools/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/utility:70, from D:/Qt/src/qt6/qtbase/src/corelib/global/qglobal.h:47, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/include/QtCore/qglobal.h:1, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/include/QtCore/QtCore:4, from D:/Qt/src/build-dev-mingw_64-static-runtime/qtbase/src/plugins/sqldrivers/psql/CMakeFiles/QPSQLDriverPlugin.dir/cmake_pch.hxx:5, from <command-line>: D:/tools/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/stl_pair.h:443:5: note: candidate: 'template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)' operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) ^~~~~~~~
Qt 5.15.2 doesn't have such error.