##### Syntax

-we

##### Description

This option directs the compiler, assembler, and linker to treat all warnings as errors.

##### To set this option in the CrossStudio development environment

To suppress warnings for all files in a project:

- Select the project in the Project Explorer.
- In the General Options group set the Treat Warnings as Errors property to Yes.

To suppress warnings for a particular file:

- Select the file in the Project Explorer.
- In the General Options group set the Treat Warnings as Errors property to Yes.