On Tue, Apr 10, 2012 at 8:38 AM, Jonathan Wakely <jwakely....@gmail.com> wrote: > On 10 April 2012 13:11, NightStrike wrote: >> Generally speaking, I've tried to help people get us a clean build of >> gcc warning-wise for the windows targets. This has historically been >> challenging mainly due to printf. Kai added a lot of support for >> handling whacky windows printfs, and we were doing very well for a >> long time. Currently, however, there are two instances where giant >> massive piles of warnings spit out due to enums not being handled in a >> switch. Is this a warning that we could just disable by default for >> building gcc? My builds are filled with this: >> >> >> ../../../../build/gcc/src/gcc/ipa-pure-const.c:458: warning: >> enumeration value `BUILT_IN_NONE' not handled in switch > > Did you need to paste hundreds of lines of the warning to ask the question? > > Did you try adding -Wno-switch-enum to the build flags?
I was asking if that could be disabled by default, so that it wouldn't have to be manually added to the build flags each time, since the massive warnings are intentional.