mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-24 01:52:45 +00:00
Updated chromium-compiler-r4.patch
This commit is contained in:
parent
970cd62c65
commit
6acbbb8df6
1 changed files with 11 additions and 32 deletions
|
@ -40,39 +40,19 @@ diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|||
}
|
||||
|
||||
# C11/C++11 compiler flags setup.
|
||||
@@ -1492,43 +1476,6 @@
|
||||
# Currently goma can not handle case sensitiveness for windows well.
|
||||
cflags += [ "-Wno-nonportable-include-path" ]
|
||||
}
|
||||
-
|
||||
- if (current_toolchain == host_toolchain || !use_xcode_clang) {
|
||||
- # Flags NaCl (Clang 3.7) and Xcode 9.2 (Clang clang-900.0.39.2) do not
|
||||
- # recognize.
|
||||
- cflags += [
|
||||
- # Ignore warnings about MSVC optimization pragmas.
|
||||
- # TODO(thakis): Only for no_chromium_code? http://crbug.com/912662
|
||||
- "-Wno-ignored-pragma-optimize",
|
||||
-
|
||||
- # TODO(https://crbug.com/989932): Evaluate and possibly enable.
|
||||
- "-Wno-implicit-int-float-conversion",
|
||||
-
|
||||
- # TODO(https://crbug.com/999886): Clean up, enable.
|
||||
- "-Wno-final-dtor-non-final-class",
|
||||
-
|
||||
- # TODO(https://crbug.com/1016945) Clean up, enable.
|
||||
- "-Wno-builtin-assume-aligned-alignment",
|
||||
-
|
||||
- # TODO(https://crbug.com/1028110): Evaluate and possible enable.
|
||||
- "-Wno-deprecated-copy",
|
||||
@@ -1512,22 +1512,12 @@
|
||||
|
||||
# TODO(https://crbug.com/1028110): Evaluate and possible enable.
|
||||
"-Wno-deprecated-copy",
|
||||
-
|
||||
- # TODO(https://crbug.com/1050281): Clean up, enable.
|
||||
- "-Wno-non-c-typedef-for-linkage",
|
||||
- ]
|
||||
-
|
||||
- cflags_c += [
|
||||
- # TODO(https://crbug.com/995993): Clean up and enable.
|
||||
- "-Wno-implicit-fallthrough",
|
||||
- ]
|
||||
]
|
||||
|
||||
cflags_c += [
|
||||
# TODO(https://crbug.com/995993): Clean up and enable.
|
||||
"-Wno-implicit-fallthrough",
|
||||
]
|
||||
-
|
||||
- if (enable_wmax_tokens) {
|
||||
- cflags += [ "-Wmax-tokens" ]
|
||||
|
@ -80,10 +60,9 @@ diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|||
- # TODO(https://crbug.com/1049569): Remove after Clang 87b235db.
|
||||
- cflags += [ "-Wno-max-tokens" ]
|
||||
- }
|
||||
- }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1547,7 +1494,7 @@
|
||||
defines = [ "_HAS_NODISCARD" ]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue