Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt1
-rw-r--r--samples/project/CppConsoleApp/premake4.lua2
-rw-r--r--src/tools/gcc.lua2
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",