Hi, I am getting compilation errors with ICC in my tests programs (that use QtTest) since i switched from Qt 4.8.2 to Qt 4.8.5. the same code compiles fines on VS2010 32/64bit or gcc41/44 64bit, but ICC 64bit gives those new errors :
.../qt-4.8.5/include/QtTest/qtestspontaneevent.h(89): error: taking the address of a bit field is not allowed Q_UNUSED(posted); .../qt-4.8.5/include/QtTest/qtestspontaneevent.h(90): error: taking the address of a bit field is not allowed Q_UNUSED(m_accept); .../qt-4.8.5/include/QtTest/qtestspontaneevent.h(91): error: taking the address of a bit field is not allowed Q_UNUSED(reserved); These lines are apparently new from http://qt.gitorious.org/qt/qt/commit/4326cff0ada1e1bd9265ff11a035ae21314471f0, to remove a warning of CLang. Since they don't pertain my compilers, commenting them out removes the error for me, but what would be the proper way to remove the errors? Thanks -- Olivier BARTHELEMY
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest