My openSUSE Tumbleweed just updated my gcc from 8.3.1 to 9.1.1. I have Qt 5.12.3 (latest). I now get lots of warnings when compiling FET, like:
In file included from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qlocale.h:43,
from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qtextstream.h:46,
from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/QTextStream:1,
from engine/solution.h:31,
from engine/timetableexport.cpp:49:
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
273 | { other.d = Private(); }
| ^
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
399 | inline Private(const Private &other) Q_DECL_NOTHROW
| ^~~~~~~
In file included from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtGui/qevent.h:50,
from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtGui/QList:1,
from engine/timeconstraint.h:30,
from engine/rules.h:26,
from engine/timetable.h:26,
from engine/timetableexport.cpp:47:
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h: In constructor 'QVariant::QVariant(QVariant&&)':
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h:273:25: warning: implicitly-declared 'QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Wdeprecated-copy]
273 | { other.d = Private(); }
| ^
../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qvariant.h:399:16: note: because 'QVariant::Private' has user-provided 'QVariant::Private::Private(const QVariant::Private&)'
399 | inline Private(const Private &other) Q_DECL_NOTHROW
| ^~~~~~~
In file included from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qobject.h:49,
from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/qcoreapplication.h:46,
from ../../../Qt5.12.3/5.12.3/gcc_64/include/QtCore/QCoreApplication:1,
from engine/timeconstraint.h:25,
from engine/rules.h:26,
from engine/timetable.h:26,
from engine/timetableexport.cpp:47:
I just hope the Qt team will solve these in the next release, as I think they are from them.
Looks like other guys have got the same problem:
https://github.com/bitcoin/bitcoin/issues/15822
Indeed. We will wait for Qt 5.13.0.
Unfortunately a long time to wait. Release of Qt 5.13.0 is scheduled for 13 June 2019.