Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8
-
-
111c08d0eaa134652f1f1e602ead1a539614258f
-
Foundation PM Staging
Description
qtbase e65dc193327c207d71e20fa14a5dbf1a988afd60
g++ (GCC) 14.0.1 20240228 (Red Hat 14.0.1-0)
Fedora Rawhide 20240308
FAILED: src/corelib/CMakeFiles/Core.dir/kernel/qcoreapplication.cpp.o /usr/bin/c++ -DBACKTRACE_HEADER=\"execinfo.h\" -DCore_EXPORTS -DELF_INTERPRETER=\"/lib/ld-linux-aarch64.so.1\" -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_AS_CONST -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_USING_NAMESPACE -DQT_STRICT_QLIST_ITERATORS -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/liangqi/qt/qtbase-build/src/corelib/Core_autogen/include -I/home/liangqi/qt/qtbase-build/include -I/home/liangqi/qt/qtbase-build/include/QtCore -I/mnt/hgfs/liangqi/qt/qtbase/src/corelib -I/home/liangqi/qt/qtbase-build/src/corelib -I/home/liangqi/qt/qtbase-build/src/corelib/global -I/home/liangqi/qt/qtbase-build/src/corelib/kernel -I/mnt/hgfs/liangqi/qt/qtbase/src/corelib/../3rdparty/tinycbor/src -I/home/liangqi/qt/qtbase-build/include/QtCore/6.8.0 -I/home/liangqi/qt/qtbase-build/include/QtCore/6.8.0/QtCore -I/mnt/hgfs/liangqi/qt/qtbase/src/corelib/../3rdparty/forkfd -I/home/liangqi/qt/qtbase-build/src/corelib/.rcc -I/home/liangqi/qt/qtbase-build/mkspecs/linux-g++ -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -g -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fexceptions -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -Wno-error=implicit-fallthrough -Wno-error=deprecated-copy -Wno-error=redundant-move -Wno-error=init-list-lifetime -Wno-error=format-overflow -Wno-error=stringop-overflow -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-enum-float-conversion -Wsuggest-override -Winvalid-pch -include /home/liangqi/qt/qtbase-build/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx -MD -MT src/corelib/CMakeFiles/Core.dir/kernel/qcoreapplication.cpp.o -MF src/corelib/CMakeFiles/Core.dir/kernel/qcoreapplication.cpp.o.d -o src/corelib/CMakeFiles/Core.dir/kernel/qcoreapplication.cpp.o -c /mnt/hgfs/liangqi/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp In file included from /home/liangqi/qt/qtbase-build/include/QtCore/qfutureinterface.h:1, from /mnt/hgfs/liangqi/qt/qtbase/src/corelib/thread/qpromise.h:8, from /home/liangqi/qt/qtbase-build/include/QtCore/qpromise.h:1, from /mnt/hgfs/liangqi/qt/qtbase/src/corelib/kernel/qcoreapplication.cpp:30: /mnt/hgfs/liangqi/qt/qtbase/src/corelib/thread/qfutureinterface.h:472:37: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 472 | explicit QFutureInterface<void>(State initialState = NoState) | ^~~~~ /mnt/hgfs/liangqi/qt/qtbase/src/corelib/thread/qfutureinterface.h:472:37: note: remove the ‘< >’ cc1plus: all warnings being treated as errors [220/1624] Building CXX object src/corelib/CMakeFiles/Core.dir/plugin/qfactoryloader.cpp.o ninja: build stopped: subcommand failed.
Attachments
Issue Links
- is duplicated by
-
QTBUG-125282 warning in QtCore with gcc-14.1
- Closed
-
QTBUG-126989 Probably a GCC 14 warning with Qt 6.7
- Closed