Enable warning on reserved user-defined literals for CrOS.
This was blocked on making CrOS use the jessie sysroot, which is now done. BUG=263960 Review-Url: https://codereview.chromium.org/2786313004 Cr-Original-Commit-Position: refs/heads/master@{#461149} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: b3fc618111c6c50e9e05a8afb72f6fb40fd3b585
This commit is contained in:
Родитель
383b3e6432
Коммит
1c890e6217
|
@ -1035,19 +1035,10 @@ config("default_warnings") {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_chromeos) {
|
if (is_chromeos && is_clang && !is_nacl) {
|
||||||
# TODO(thakis): Remove, http://crbug.com/263960
|
|
||||||
if (is_clang) {
|
|
||||||
cflags_cc += [ "-Wno-reserved-user-defined-literal" ]
|
|
||||||
|
|
||||||
# TODO(thakis): Enable this, crbug.com/507717
|
# TODO(thakis): Enable this, crbug.com/507717
|
||||||
if (!is_nacl) {
|
|
||||||
cflags += [ "-Wno-shift-negative-value" ]
|
cflags += [ "-Wno-shift-negative-value" ]
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
cflags_cc += [ "-Wno-literal-suffix" ]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_clang) {
|
if (is_clang) {
|
||||||
cflags += [
|
cflags += [
|
||||||
|
|
Загрузка…
Ссылка в новой задаче