Skip to main content

warnings

Controls the level of warnings that are shown by the compiler.

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:

ValueDescription
OffDo not show any warning messages.
DefaultUse the toolset's default warning level.
ExtraEnable the toolset's maximum warning level.
HighNeeds documentation
EverythingNeeds documentation

Applies To

Project configurations.

Availability

Premake 5.0.

Examples

warnings "Extra"