This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/fatalwarnings.md

25 lines
524 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Specifies specific warnings that should be interpreted as compile errors.
```lua
fatalwarnings { "warnings" }
```
### Parameters ###
`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.
### Availability ###
Premake 5.0 or later.
### See Also ###
* [enablewarnings](enablewarnings.md)
* [disablewarnings](disablewarnings.md)