Loading cc/config/global.go +12 −1 Original line number Diff line number Diff line Loading @@ -272,6 +272,7 @@ var ( "-Wno-range-loop-construct", // http://b/153747076 "-Wno-zero-as-null-pointer-constant", // http://b/68236239 "-Wno-deprecated-anon-enum-enum-conversion", // http://b/153746485 "-Wno-deprecated-enum-enum-conversion", "-Wno-pessimizing-move", // http://b/154270751 // New warnings to be fixed after clang-r399163 "-Wno-non-c-typedef-for-linkage", // http://b/161304145 Loading @@ -286,6 +287,13 @@ var ( // New warnings to be fixed after clang-r475365 "-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903 "-Wno-error=enum-constexpr-conversion", // http://b/243964282 // Irrelevant on Android because _we_ don't use exceptions, but causes // lots of build noise because libcxx/libcxxabi do. This can probably // go away when we're on a new enough libc++, but has to be global // until then because it causes warnings in the _callers_, not the // project itself. "-Wno-deprecated-dynamic-exception-spec", } noOverride64GlobalCflags = []string{} Loading Loading @@ -320,6 +328,9 @@ var ( // http://b/239661264 "-Wno-deprecated-non-prototype", "-Wno-unused", "-Wno-deprecated", } // Similar to noOverrideGlobalCflags, but applies only to third-party code Loading Loading
cc/config/global.go +12 −1 Original line number Diff line number Diff line Loading @@ -272,6 +272,7 @@ var ( "-Wno-range-loop-construct", // http://b/153747076 "-Wno-zero-as-null-pointer-constant", // http://b/68236239 "-Wno-deprecated-anon-enum-enum-conversion", // http://b/153746485 "-Wno-deprecated-enum-enum-conversion", "-Wno-pessimizing-move", // http://b/154270751 // New warnings to be fixed after clang-r399163 "-Wno-non-c-typedef-for-linkage", // http://b/161304145 Loading @@ -286,6 +287,13 @@ var ( // New warnings to be fixed after clang-r475365 "-Wno-error=single-bit-bitfield-constant-conversion", // http://b/243965903 "-Wno-error=enum-constexpr-conversion", // http://b/243964282 // Irrelevant on Android because _we_ don't use exceptions, but causes // lots of build noise because libcxx/libcxxabi do. This can probably // go away when we're on a new enough libc++, but has to be global // until then because it causes warnings in the _callers_, not the // project itself. "-Wno-deprecated-dynamic-exception-spec", } noOverride64GlobalCflags = []string{} Loading Loading @@ -320,6 +328,9 @@ var ( // http://b/239661264 "-Wno-deprecated-non-prototype", "-Wno-unused", "-Wno-deprecated", } // Similar to noOverrideGlobalCflags, but applies only to third-party code Loading