~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 18:22:02 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-20101006182202-bzj2dpg6gnmbgghh
Fixed some more ICC warnings. How did I get started on this this morning?

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        dnl 2203 is like old-style-cast
175
175
        dnl 1684 is like strict-aliasing
176
176
        dnl 188 is about using enums as bitfields
177
 
        BASE_WARNINGS="-w1 -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 188,981,2259,2203,1684"
 
177
        dnl 1683 is a warning about _EXPLICIT_ casting, which we want
 
178
        BASE_WARNINGS="-w1 -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 188,981,2259,2203,1683,1684"
178
179
      ])
179
180
      CC_WARNINGS="${BASE_WARNINGS}"
180
181
      CXX_WARNINGS="${BASE_WARNINGS}"
181
 
      PROTOSKIP_WARNINGS="-diag-disable 188,981,967,2259,1684,2203"
 
182
      PROTOSKIP_WARNINGS="-diag-disable 188,981,967,2259,1683,1684,2203"
182
183
      
183
184
    ],[
184
185
      m4_if(PW_LESS_WARNINGS,[no],[