Skip to content

Commit

Permalink
Turn on fatal warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gorlak committed May 26, 2019
1 parent d96f4e4 commit 7411d3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ architecture( _OPTIONS[ "architecture" ] )

flags
{
"FatalWarnings",
"NoMinimalRebuild",
}

Expand Down Expand Up @@ -397,6 +398,7 @@ project "p4"
disablewarnings
{
"4005", -- macro redefinition, see WIN32_LEAN_AND_MEAN below
"4018", -- sized/unsigned mismatched
"4091", -- dbghelp.dll antics
"4101", -- unreferenced local
"4244", -- int conversion possible loss of data
Expand Down Expand Up @@ -473,7 +475,6 @@ project "P4Win"
flags
{
"MFC",
"FatalWarnings",
}

disablewarnings
Expand Down

0 comments on commit 7411d3d

Please sign in to comment.