headersclean: omit -Wcast-align also on MIPS

These issues are permitted to go unfixed for ARM and MIPS, for the time
being.

Change-Id: Ibdf33dc42e3de19ef20e9dc50f12f451ea6dbf23
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Rohan McGovern 2012-03-15 08:29:17 +10:00 committed by Qt by Nokia
parent 0147ee75dd
commit 329469d5a1

View File

@ -18,8 +18,10 @@
# Enable pedantic mode, but accept variadic macros and 'long long' usage.
*-g++*: QMAKE_CXXFLAGS += -Wno-long-long -Wno-variadic-macros -pedantic-errors
# There are outstanding alignment issues on ARM in some container classes.
contains(QT_ARCH,arm):*-g++*:QMAKE_CXXFLAGS -= -Wcast-align
contains(QT_ARCH,arm)|contains(QT_ARCH,mips) {
# There are outstanding alignment issues in some container classes.
*-g++*:QMAKE_CXXFLAGS -= -Wcast-align
}
QMAKE_CXXFLAGS += -DQT_NO_CAST_TO_ASCII \
-DQT_NO_CAST_FROM_ASCII \