Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.12.0, 5.13.0
-
None
-
Fedora 30 / GCC 9.1.1.
Description
Checked out qtsaferenderer 1.1 version, ran qmake from Qt5.12.0 (and Qt5.13.0) from binary distribution, make and almost immediately build failed in compiler error:
[jani@jani-t470p qtsaferenderer_fix_QSR-362]$ git checkout 1.1
Branch '1.1' set up to track remote branch '1.1' from 'origin'.
Switched to a new branch '1.1'
[jani@jani-t470p qtsaferenderer_fix_QSR-362]$ ~/Qt/5.12.0/gcc_64/bin/qmake
[jani@jani-t470p qtsaferenderer_fix_QSR-362]$ make
cd src/ && ( test -e Makefile || /home/jani/Qt/5.12.0/gcc_64/bin/qmake -o Makefile /home/jani/qtsaferenderer_fix_QSR-362/src/src.pro ) && make -f Makefile
make[1]: Entering directory '/home/jani/qtsaferenderer_fix_QSR-362/src'
cd qtsaferendererplugin/ && ( test -e Makefile || /home/jani/Qt/5.12.0/gcc_64/bin/qmake -o Makefile /home/jani/qtsaferenderer_fix_QSR-362/src/qtsaferendererplugin/qtsaferendererplugin.pro ) && make -f Makefile
make[2]: Entering directory '/home/jani/qtsaferenderer_fix_QSR-362/src/qtsaferendererplugin'
/home/jani/Qt/5.12.0/gcc_64/bin/qmake -install qinstall qmldir ../../qml/Qt/SafeRenderer/qmldir
/home/jani/Qt/5.12.0/gcc_64/bin/qmake -install qinstall plugins.qmltypes ../../qml/Qt/SafeRenderer/plugins.qmltypes
g++ -c -pipe -O2 -g -std=c+1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla -Wdate-time -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -fno-exceptions -D_REENTRANT -fPIC -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../safecontentprovider -I../messagesenderplugin -I../saferenderer -I/home/jani/Qt/5.12.0/gcc_64/include/QtQuick/5.12.0 -I/home/jani/Qt/5.12.0/gcc_64/include/QtQuick/5.12.0/QtQuick -I/home/jani/Qt/5.12.0/gcc_64/include -I/home/jani/Qt/5.12.0/gcc_64/include/QtQuick -I/home/jani/Qt/5.12.0/gcc_64/include/QtGui/5.12.0 -I/home/jani/Qt/5.12.0/gcc_64/include/QtGui/5.12.0/QtGui -I/home/jani/Qt/5.12.0/gcc_64/include/QtGui -I/home/jani/Qt/5.12.0/gcc_64/include/QtQml/5.12.0 -I/home/jani/Qt/5.12.0/gcc_64/include/QtQml/5.12.0/QtQml -I/home/jani/Qt/5.12.0/gcc_64/include/QtQml -I/home/jani/Qt/5.12.0/gcc_64/include/QtNetwork -I/home/jani/Qt/5.12.0/gcc_64/include/QtCore/5.12.0 -I/home/jani/Qt/5.12.0/gcc_64/include/QtCore/5.12.0/QtCore -I/home/jani/Qt/5.12.0/gcc_64/include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/jani/Qt/5.12.0/gcc_64/mkspecs/linux-g+ -o .obj/qsafetextprovider.o ../safecontentprovider/qsafetextprovider.cpp
In file included from /home/jani/Qt/5.12.0/gcc_64/include/QtCore/qlocale.h:43,
from /home/jani/Qt/5.12.0/gcc_64/include/QtCore/qtextstream.h:46,
from /home/jani/Qt/5.12.0/gcc_64/include/QtCore/qdebug.h:49,
from /home/jani/Qt/5.12.0/gcc_64/include/QtCore/QDebug:1,
from ../safecontentprovider/qsafetextprovider.cpp:30:
/home/jani/Qt/5.12.0/gcc_64/include/QtCore/qvariant.h: In constructor ‘QVariant::QVariant(QVariant&&)’:
/home/jani/Qt/5.12.0/gcc_64/include/QtCore/qvariant.h:273:25: error: implicitly-declared ‘constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)’ is deprecated [-Werror=deprecated-copy]
273 | { other.d = Private(); }
^
/home/jani/Qt/5.12.0/gcc_64/include/QtCore/qvariant.h:399:16: note: because ‘QVariant::Private’ has user-provided ‘QVariant::Private::Private(const QVariant::Private&)’
399inline Private(const Private &other) Q_DECL_NOTHROW ^~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:1190: .obj/qsafetextprovider.o] Error 1
make[2]: Leaving directory '/home/jani/qtsaferenderer_fix_QSR-362/src/qtsaferendererplugin'
make[1]: *** [Makefile:48: sub-qtsaferendererplugin-make_first] Error 2
make[1]: Leaving directory '/home/jani/qtsaferenderer_fix_QSR-362/src'
make: *** [Makefile:48: sub-src-make_first] Error 2
[jani@jani-t470p qtsaferenderer_fix_QSR-362]$ gcc --version
gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.[jani@jani-t470p qtsaferenderer_fix_QSR-362]$
Apparently a problem with Fedora's new compiler and its default warnings.
Attachments
Issue Links
- relates to
-
QSR-490 QSR not compiled with Qt5.12.4/5
- Closed