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"
178
BASE_WARNINGS="-w1 -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 188,981,2259,2203,1683,1684"
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"
184
185
m4_if(PW_LESS_WARNINGS,[no],[