-we
This option directs the compiler, assembler, and linker to treat all warnings as errors.
Build Options > Treat Warnings as Errors