summaryrefslogtreecommitdiffstats
path: root/mkspecs/features
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-07-07 09:18:19 (GMT)
committeraxis <qt-info@nokia.com>2009-07-07 09:18:19 (GMT)
commit3aef8eaffb8959a1559b0b3b01a423a2ac42c8eb (patch)
treead5e880d64b5fa9d3d8f886649382637de08897b /mkspecs/features
parent02fb7b8ccce1f320d980f798f550a45f2a42cb9c (diff)
downloadQt-3aef8eaffb8959a1559b0b3b01a423a2ac42c8eb.zip
Qt-3aef8eaffb8959a1559b0b3b01a423a2ac42c8eb.tar.gz
Qt-3aef8eaffb8959a1559b0b3b01a423a2ac42c8eb.tar.bz2
Fixed qmake "not found" error.
Diffstat (limited to 'mkspecs/features')
-rw-r--r--mkspecs/features/symbian/armcc_warnings.prf10
1 files changed, 10 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/armcc_warnings.prf b/mkspecs/features/symbian/armcc_warnings.prf
new file mode 100644
index 0000000..95b3bc0
--- /dev/null
+++ b/mkspecs/features/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