winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/warnings.md

32 lines
747 B
Markdown
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
Controls the number of warnings that are shown by the compiler.
```lua
warnings "value"
```
If no value is set for a configuration, the toolset's default warning level will be used.
### Parameters ###
`value` specifies the desired level of warning:
| Value | Description |
|-------------|--------------------------------------------------------|
| Off | Do not show any warning messages. |
| Default | Use the toolset's default warning level. |
| Extra | Enable the toolset's maximum warning level. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0.
### Examples ###
```lua
warnings "Extra"
```