~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_warnings.m4

  • Committer: lbieber
  • Date: 2010-10-07 02:59:11 UTC
  • mfrom: (1818.1.2 build)
  • Revision ID: lbieber@orisndriz08-20101007025911-rz1n8q23hrwxks6v
Merge Brian - Fix a large number of warning issues on ICC. sql_string becomes 64bit
Merge Monty - clean up ICC warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
 
170
170
    AS_IF([test "$INTELCC" = "yes"],[
171
171
      m4_if(PW_LESS_WARNINGS,[no],[
172
 
        BASE_WARNINGS="-w1 -Werror -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual"
 
172
        BASE_WARNINGS="-w1 -Werror -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 188"
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
        dnl 188 is about using enums as bitfields
 
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"
175
179
      ])
176
180
      CC_WARNINGS="${BASE_WARNINGS}"
177
181
      CXX_WARNINGS="${BASE_WARNINGS}"
 
182
      PROTOSKIP_WARNINGS="-diag-disable 188,981,967,2259,1683,1684,2203"
 
183
      
178
184
    ],[
179
185
      m4_if(PW_LESS_WARNINGS,[no],[
180
186
        BASE_WARNINGS_FULL="${W_FORMAT_2} ${W_CONVERSION} -Wstrict-aliasing"