Enable conditional warning flags by compiler.