diff options
-rw-r--r-- | CHANGES.txt | 1 | ||||
-rw-r--r-- | samples/project/CppConsoleApp/premake4.lua | 2 | ||||
-rw-r--r-- | src/tools/gcc.lua | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index ebe56f0..dd08783 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,6 +2,7 @@ 4.1 (in progress) ----- +- Bug 2564404: FatalWarnings has no effect with gmake target - Support links and libdirs for Visual Studio static libraries diff --git a/samples/project/CppConsoleApp/premake4.lua b/samples/project/CppConsoleApp/premake4.lua index b035656..2983e4d 100644 --- a/samples/project/CppConsoleApp/premake4.lua +++ b/samples/project/CppConsoleApp/premake4.lua @@ -3,6 +3,8 @@ project "CppConsoleApp" kind "ConsoleApp" language "C++" + flags { "FatalWarnings", "ExtraWarnings" } + files { "*.cpp" } includedirs { "I:/Code" } diff --git a/src/tools/gcc.lua b/src/tools/gcc.lua index 4040b03..c62c649 100644 --- a/src/tools/gcc.lua +++ b/src/tools/gcc.lua @@ -16,7 +16,7 @@ local cflags = { ExtraWarnings = "-Wall", - FatalWarning = "-Werror", + FatalWarnings = "-Werror", NoFramePointer = "-fomit-frame-pointer", Optimize = "-O2", OptimizeSize = "-Os", |