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:
thakis 2017-03-31 09:48:26 -07:00 коммит произвёл Commit bot
Родитель 383b3e6432
Коммит 1c890e6217
1 изменённых файлов: 3 добавлений и 12 удалений

Просмотреть файл

@ -1035,18 +1035,9 @@ config("default_warnings") {
]
}
if (is_chromeos) {
# TODO(thakis): Remove, http://crbug.com/263960
if (is_clang) {
cflags_cc += [ "-Wno-reserved-user-defined-literal" ]
# TODO(thakis): Enable this, crbug.com/507717
if (!is_nacl) {
cflags += [ "-Wno-shift-negative-value" ]
}
} else {
cflags_cc += [ "-Wno-literal-suffix" ]
}
if (is_chromeos && is_clang && !is_nacl) {
# TODO(thakis): Enable this, crbug.com/507717
cflags += [ "-Wno-shift-negative-value" ]
}
if (is_clang) {