Details
-
Bug
-
Resolution: Invalid
-
P5: Not important
-
None
-
4.8.4
-
None
-
Linux x86 32-bit
Description
An x86 project that uses Qt 4.8.4 headers will get a compiler warning if the GCC flag -Wpacked is activated (http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html).
I believe that the underlying issue is a typo in http://qt.gitorious.org/qt/qt/commit/c9424fa6687b5d83227c8c07df1e3806b8f487b5
The patch of qlocale.h uses || instead of &&. Since QT_NO_ARM_EABI is defined for all platforms, not only ARM (see line 519 of qglobal.h), Q_PACKED gets set for all platforms.