summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-06 11:23:44 (GMT)
committeraxis <qt-info@nokia.com>2009-07-06 11:23:44 (GMT)
commitb6909aedbfcafe67c5e2fc1bbda62e0ea672d239 (patch)
tree0d3a61a5942f0fe4a2a8e5b95f11fc6ca39d48ca /mkspecs
parent2eef0ba923644e62e0dd1e7829de57cc7118798a (diff)
parentb1607cfaaca575b5a8ce416cb23a23b1fa6c4db1 (diff)
downloadQt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.zip
Qt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.tar.gz
Qt-b6909aedbfcafe67c5e2fc1bbda62e0ea672d239.tar.bz2
Merge branch 'warningRemovals'
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common/symbian/armcc_warnings.prf10
1 files changed, 10 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/armcc_warnings.prf b/mkspecs/common/symbian/armcc_warnings.prf
new file mode 100644
index 0000000..95b3bc0
--- /dev/null
+++ b/mkspecs/common/symbian/armcc_warnings.prf
@@ -0,0 +1,10 @@
+# 111: Statement is unreachable
+# 185: Dynamic initialization in unreachable code
+# 191: Type qualifier is meaningless on cast type
+# 368: class "<class>" defines no constructor to initialize the following: <member>
+# (Disabled because there are other ways of assigning besides constructors)
+# 1293: Assignment in condition
+# 1294: pre-ANSI C style functions declarations (used a lot in 3rd party code)
+# 2874: <variable> may be used before being set (this one sounds useful, but
+# it's output also for class instances, making it useless in practice)
+QMAKE_CFLAGS.ARMCC += --diag_suppress 111,185,191,368,1293,1294,2874