Closed in3otd closed 4 months ago
um, lot of warnings during compilation with gcc-9.1.0
in MSYS2, not sure if they are related to the issue and if/how we can solve this.
(I've re-started and stopped the AppVeyor build since the build log was truncated and could not see the initial part)
[00:03:33] libtool: compile: /c/msys64/mingw64/bin/g++.exe -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT3_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_THREAD_SUPPORT -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtScript -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtSvg -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtXml -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/Qt3Support -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtGui -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtNetwork -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtSql -IC:/msys64/mingw64/include/qt4 -IC:/msys64/mingw64/include/qt4/QtCore -DQT_DEBUG -DQT_DEPRECATED_WARNINGS -D_REENTRANT -mthreads -DQT_DLL -DUNICODE -I../../qucs -g -O2 -g -O0 -pipe -fno-exceptions -Wno-deprecated-register -W -Wall -std=c++0x -O0 -c gyrator.cpp -DDLL_EXPORT -DPIC -o .libs/gyrator.o
[00:03:33] In file included from C:/msys64/mingw64/include/qt4/QtCore/qobject.h:48,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qiodevice.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qdatastream.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qstringlist.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qcolor.h:47,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qpen.h:45,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/QPen:1,
[00:03:33] from ../../qucs/element.h:40,
[00:03:33] from component.h:23,
[00:03:33] from phaseshifter.h:21,
[00:03:33] from phaseshifter.cpp:18:
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1254 | { return QString::compare_helper(constData(), length(), s, cs); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)'
[00:03:33] 634 | QLatin1String s2,
[00:03:33] | ~~~~~~~~~~~~~~^~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)'
[00:03:33] 634 | QLatin1String s2,
[00:03:33] | ~~~~~~~~~~~~~~^~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1278 | { return QBool(indexOf(s, 0, cs) != -1); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const'
[00:03:33] 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
[00:03:33] | ~~~~~~~~~~~~~~^~~
[00:03:33] In file included from C:/msys64/mingw64/include/qt4/QtCore/qobject.h:48,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qiodevice.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qdatastream.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtCore/qstringlist.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qcolor.h:47,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qpen.h:45,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/QPen:1,
[00:03:33] from ../../qucs/element.h:40,
[00:03:33] from component.h:23,
[00:03:33] from gyrator.h:21,
[00:03:33] from gyrator.cpp:18:
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In member function 'int QStringRef::compare(QLatin1String, Qt::CaseSensitivity) const':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1254:62: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1254 | { return QString::compare_helper(constData(), length(), s, cs); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)'
[00:03:33] 634 | QLatin1String s2,
[00:03:33] | ~~~~~~~~~~~~~~^~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In static member function 'static int QStringRef::compare(const QStringRef&, QLatin1String, Qt::CaseSensitivity)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1260:69: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1260 | { return QString::compare_helper(s1.constData(), s1.length(), s2, cs); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:634:45: note: initializing argument 3 of 'static int QString::compare_helper(const QChar*, int, QLatin1String, Qt::CaseSensitivity)'
[00:03:33] 634 | QLatin1String s2,
[00:03:33] | ~~~~~~~~~~~~~~^~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h: In member function 'QBool QStringRef::contains(QLatin1String, Qt::CaseSensitivity) const':
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1278:32: warning: implicitly-declared 'constexpr QLatin1String::QLatin1String(const QLatin1String&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 1278 | { return QBool(indexOf(s, 0, cs) != -1); }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:658:27: note: because 'QLatin1String' has user-provided 'QLatin1String& QLatin1String::operator=(const QLatin1String&)'
[00:03:33] 658 | inline QLatin1String &operator=(const QLatin1String &other)
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtCore/qstring.h:1125:31: note: initializing argument 1 of 'int QStringRef::indexOf(QLatin1String, int, Qt::CaseSensitivity) const'
[00:03:33] 1125 | int indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const;
[00:03:33] | ~~~~~~~~~~~~~~^~~
[00:03:33] In file included from C:/msys64/mingw64/include/qt4/QtGui/qbrush.h:51,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qpen.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/QPen:1,
[00:03:33] from ../../qucs/element.h:40,
[00:03:33] from component.h:23,
[00:03:33] from phaseshifter.h:21,
[00:03:33] from phaseshifter.cpp:18:
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h: In function 'QTransform operator*(const QTransform&, qreal)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:383:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 383 | { QTransform t(a); t *= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:383:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 383 | { QTransform t(a); t *= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h: In function 'QTransform operator/(const QTransform&, qreal)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:385:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 385 | { QTransform t(a); t /= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:385:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 385 | { QTransform t(a); t /= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h: In function 'QTransform operator+(const QTransform&, qreal)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:387:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 387 | { QTransform t(a); t += n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:387:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 387 | { QTransform t(a); t += n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h: In function 'QTransform operator-(const QTransform&, qreal)':
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:389:17: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 389 | { QTransform t(a); t -= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:389:35: warning: implicitly-declared 'QTransform::QTransform(const QTransform&)' is deprecated [-Wdeprecated-copy]
[00:03:33] 389 | { QTransform t(a); t -= n; return t; }
[00:03:33] | ^
[00:03:33] C:/msys64/mingw64/include/qt4/QtGui/qtransform.h:136:17: note: because 'QTransform' has user-provided 'QTransform& QTransform::operator=(const QTransform&)'
[00:03:33] 136 | QTransform &operator=(const QTransform &);
[00:03:33] | ^~~~~~~~
[00:03:33] In file included from C:/msys64/mingw64/include/qt4/QtGui/qbrush.h:51,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/qpen.h:46,
[00:03:33] from C:/msys64/mingw64/include/qt4/QtGui/QPen:1,
[00:03:33] from ../../qucs/element.h:40,
[00:03:33] from component.h:23,
[00:03:33] from gyrator.h:21,
[00:03:33] from gyrator.cpp:18:
Just compiling on AppVeyor with debug info enabled to investigate #958.