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.