mkspecs/features/symbian/armcc_warnings.prf
changeset 33 3e2da88830cd
parent 3 41300fa6a67c
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
       
     1 # 68:   integer conversion resulted in a change of sign (sounds useful, but it's
       
     2 #       buggy and is reported even in places where it makes no sense)
     1 # 111:  Statement is unreachable
     3 # 111:  Statement is unreachable
     2 # 185:  Dynamic initialization in unreachable code
     4 # 185:  Dynamic initialization in unreachable code
       
     5 # 187:  use of "=" where "==" may have been intended
     3 # 191:  Type qualifier is meaningless on cast type
     6 # 191:  Type qualifier is meaningless on cast type
     4 # 368:  class "<class>" defines no constructor to initialize the following: <member>
     7 # 368:  class "<class>" defines no constructor to initialize the following: <member>
     5 #       (Disabled because there are other ways of assigning besides constructors)
     8 #       (Disabled because there are other ways of assigning besides constructors)
       
     9 # 830:  function "xxx" has no corresponding operator delete (to be called if an
       
    10 #       exception is thrown during initialization of an allocated object) (used a
       
    11 #       lot in 3rd party code)
       
    12 # 997:  function "xxx" is hidden by "yyy" -- virtual function override intended?
       
    13 #       (used all over the place in the Symbian SDK)
     6 # 1293: Assignment in condition
    14 # 1293: Assignment in condition
     7 # 1294: pre-ANSI C style functions declarations (used a lot in 3rd party code)
    15 # 1294: pre-ANSI C style functions declarations (used a lot in 3rd party code)
     8 # 2874: <variable> may be used before being set (this one sounds useful, but
    16 # 2874: <variable> may be used before being set (this one sounds useful, but
     9 #       it's output also for class instances, making it useless in practice)
    17 #       it's output also for class instances, making it useless in practice)
    10 QMAKE_CFLAGS.ARMCC += --diag_suppress 111,185,191,368,1293,1294,2874
    18 QMAKE_CFLAGS.ARMCC += --diag_suppress 68,111,185,187,191,368,830,997,1293,1294,2874
       
    19 QMAKE_CXXFLAGS.ARMCC += --diag_suppress 68,111,185,187,191,368,830,997,1293,1294,2874
    11 
    20 
    12 # 6780: <origvis> visibility removed from symbol '<symname>' through <impexp>
    21 # 6780: <origvis> visibility removed from symbol '<symname>' through <impexp>
    13 QMAKE_LFLAGS.ARMCC += --diag_suppress 6780
    22 QMAKE_LFLAGS.ARMCC += --diag_suppress 6780