From 7124c4d80d8f7fcc0f2e01d52fb1f2ec1c0e1c39 Mon Sep 17 00:00:00 2001 From: starkos Date: Thu, 5 Feb 2009 15:45:32 +0000 Subject: [PATCH] Bug 2564404: FatalWarnings has no effect with gmake target --- CHANGES.txt | 1 + samples/project/CppConsoleApp/premake4.lua | 2 ++ src/tools/gcc.lua | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index ebe56f0a..dd08783d 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 b035656b..2983e4d3 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 4040b033..c62c6494 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",