byte-compile-error-on-warn

byte-compile-error-on-warn is a variable defined in `bytecomp.el'.
Its value is
nil


Documentation:
If true, the byte-compiler reports warnings with `error'.

You can customize this variable.