Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.15
-
None
-
-
2022wk14FOAndroid&Automotive
Description
Error encountered:
g++ -c -pipe -g -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_TESTLIB_LIB -DQT_DBUS_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/tiaarnip/src/tqtc-qt5/build/qtbase/tests/auto/tools/moc"' -I/home/tiaarnip/src/tqtc-qt5/qtbase/tests/auto/tools/moc -I. -I/home/tiaarnip/src/tqtc-qt5/qtbase/tests/auto/tools/moc/testproject/include -I/home/tiaarnip/src/tqtc-qt5/qtbase/tests/auto/tools/moc/testproject -I../../../../include -I../../../../include/QtTest -I../../../../include/QtDBus -I../../../../include/QtConcurrent -I../../../../include/QtNetwork -I../../../../include/QtSql -I../../../../include/QtCore -I.moc -I/home/tiaarnip/src/tqtc-qt5/qtbase/mkspecs/linux-g++ -o .obj/moc_cxx11-enums.o .moc/moc_cxx11-enums.cppIn file included from .moc/moc_task189996.cpp:10:.moc/../../../../../../../qtbase/tests/auto/tools/moc/task189996.h:43:14: error: ISO C++17 does not allow dynamic exception specifications43 | void d() throw(int) { }| ^~~~~.moc/../../../../../../../qtbase/tests/auto/tools/moc/task189996.h:44:20: error: ISO C++17 does not allow dynamic exception specifications44 | void e() const throw(int,double) { }| ^~~~~make[5]: *** [Makefile:12282: .obj/moc_task189996.o] Error 1
Setup used to build:
Heading 1 | Heading 2 |
---|---|
OS | Fedora 35 |
GCC | 11.2.1 |
commit ID | 78c9de58c0eaa559220484a1f8822bc1c53b0a99 |
configure command line | developer-build -skip qtwebengine -skip qt3d -prefix /mnt/linux/Qt/5.15.8/gcc_64-developer_build |
As a side note, adding
-c++std c++14
to the configure command line did not help. Seems like it doesn't get passed down to this Makefile.
Attachments
Issue Links
- relates to
-
QTBUG-102429 QBasicAtomicInteger<quintptr> isn't supported
- Reported
-
QTBUG-102784 Qt 5.15.2 compile errors w/ g++ 11
- Closed
- mentioned in
-
Page Loading...