175
175
dnl 1684 is like strict-aliasing
176
176
dnl 188 is about using enums as bitfields
177
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
BASE_WARNINGS="-w1 -Werror -Wcheck ${W_FORMAT} -Wp64 -Woverloaded-virtual -Wcast-qual -diag-disable 188,981,2259,2203,1683,1684"
180
180
CC_WARNINGS="${BASE_WARNINGS}"
181
181
CXX_WARNINGS="${BASE_WARNINGS}"