~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_warnings.m4

  • Committer: Monty Taylor
  • Date: 2010-10-06 17:22:20 UTC
  • mto: (1818.1.1 build) (1821.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: mordred@inaugust.com-20101006172220-7wgsy8w3wa009dx4
Made ICC warning suppressions a little more sensible given what we can't accomplish any time in the near future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
      m4_if(PW_LESS_WARNINGS,[no],[
172
172
        BASE_WARNINGS="-w1 -Werror -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual"
173
173
      ],[
174
 
        BASE_WARNINGS="-w1 -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 981"
 
174
        dnl 2203 is like old-style-cast
 
175
        dnl 1684 is like strict-aliasing
 
176
        BASE_WARNINGS="-w1 -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 981,2259,2203,1684"
175
177
      ])
176
178
      CC_WARNINGS="${BASE_WARNINGS}"
177
179
      CXX_WARNINGS="${BASE_WARNINGS}"
 
180
      PROTOSKIP_WARNINGS="-diag-disable 981,967,2259,1684,2203"
 
181
      
178
182
    ],[
179
183
      m4_if(PW_LESS_WARNINGS,[no],[
180
184
        BASE_WARNINGS_FULL="${W_FORMAT_2} ${W_CONVERSION} -Wstrict-aliasing"