Skip to content

enablewarnings

starkos edited this page Apr 10, 2021 · 3 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Enables specific compiler warnings.

enablewarnings { "warnings" }

Parameters

warnings is a list of warnings to enable.

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

Clone this wiki locally