Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
5.9.0 Beta 1
-
None
Description
QtDeclarative fails to compile with GCC 7.0.1 (20170225 (experimental)). It warns about cpp macros expanding to defined(). Subset of errors:
/home/marc/Qt/qt5/qtdeclarative/src/3rdparty/masm/wtf/StdLibExtras.h:161:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] #if COMPILER(GCC) ^~~~~~~~~~~~~~~~ /home/marc/Qt/qt5/qtdeclarative/src/qml/memory/qv4mm.cpp:80:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] #if OS(QNX) ^~~~~~~~~~ /home/marc/Qt/qt5/qtdeclarative/src/qml/memory/qv4mm.cpp:84:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] #if USE(PTHREADS) && HAVE(PTHREAD_NP_H) ^~~~~~~~~~~~~~~~ /home/marc/Qt/qt5/qtdeclarative/src/qml/memory/qv4mm.cpp:84:1: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] #if USE(PTHREADS) && HAVE(PTHREAD_NP_H) ^~~~~~~~~~~~~~~~~
Probably easiest to disable the warning.
Attachments
For Gerrit Dashboard: QTBUG-59647 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
189229,2 | Fix build with GCC 7 | 5.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
189284,2 | Fix build with GCC 7 | 5.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
220902,6 | Remove bogus warning in GCC 7 | dev | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |