Skip to main content


Specifies specific warnings that should be interpreted as compile errors.

fatalwarnings { "warnings" }


warnings is a list of warnings to interpret as errors.

For Visual Studio, the MSC warning number should be used to specify the warning. On other compilers, the warning should be identified by name.

Applies To

Project configurations.


Premake 5.0 or later.

See Also