From 2ce19e896bc9567ffe6d9e04eeddc2eacd30fa2d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 4 Dec 2015 20:22:48 +0100 Subject: Removed need for -Wno-c++11-narrowing for clang and -Wno-unused-result,-Wno-narrowing and -Wno-attributes on gcc (nw) --- scripts/genie.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/genie.lua b/scripts/genie.lua index c7b36fb924f..e05d04c6d36 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -974,7 +974,7 @@ end "-Wno-tautological-compare", "-Wno-dynamic-class-memaccess", "-Wno-unused-value", - "-Wno-c++11-narrowing", +-- "-Wno-c++11-narrowing", "-Wno-inline-new-delete", "-Wno-constant-logical-operand", "-Wno-deprecated-register", @@ -997,9 +997,9 @@ end os.exit(-1) end buildoptions { - "-Wno-unused-result", - "-Wno-narrowing", - "-Wno-attributes", +-- "-Wno-unused-result", +-- "-Wno-narrowing", +-- "-Wno-attributes", -- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) "-Wno-array-bounds", } -- cgit v1.2.3