fixup! [M94 Dev][Tizen] Fix for compiler and linker errors 28/266128/2 tizen.dev_m94
authorChandan Padhi <c.padhi@samsung.com>
Mon, 8 Nov 2021 06:42:43 +0000 (12:12 +0530)
committerDae-Hyun Ko <dhyuna.ko@samsung.com>
Mon, 8 Nov 2021 08:15:35 +0000 (08:15 +0000)
This commit removes multiple compilation warnings during tizen build.

Change-Id: I15ac1e5cd36c5a6f70f8dd3f48341a710af52e10
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
build/config/compiler/BUILD.gn
third_party/angle/BUILD.gn

index 9df6ff5..5a0976d 100644 (file)
@@ -566,8 +566,8 @@ config("compiler") {
 
   # C11/C++11 compiler flags setup.
   # ---------------------------
-  if (is_linux || is_tizen || is_chromeos || is_android || (is_nacl && is_clang) ||
-      current_os == "aix") {
+  if (is_linux || is_tizen || is_chromeos || is_android ||
+      (is_nacl && is_clang) || current_os == "aix") {
     if (target_os == "android") {
       cxx11_override = use_cxx11_on_android
     } else {
@@ -1640,10 +1640,6 @@ config("default_warnings") {
           # TODO(https://crbug.com/1028110): Evaluate and possible enable.
           "-Wno-deprecated-copy",
 
-          # TODO(https://crbug.com/1203071): Clean up and enable.
-          "-Wno-unused-but-set-parameter",
-          "-Wno-unused-but-set-variable",
-
           # TODO(https://crbug.com/1239077): Fix and re-enable.
           "-Wno-inline-asm",
         ]
index 6517fac..d3de074 100644 (file)
@@ -200,7 +200,6 @@ config("extra_warnings") {
       "-Wundefined-reinterpret-cast",
       "-Wunneeded-internal-declaration",
       "-Wweak-template-vtables",
-      "-Wunused-but-set-variable",
 
       # The below warnings are used by WebKit. We enable them to make rolling
       # ANGLE in WebKit easier.