##### Syntax

-we

##### Description

This option directs the compiler to treat all warnings as errors.

##### Setting this in CrossStudio

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.