Fix build warnings with gcc4.8

There are a lot of warnings when build chromium with gcc4.8, which are
in "typedef ‘foo’ locally defined but not used" pattern. Add
"-Wno-unused-local-typedefs" to suppress these warnings.

BUG=227506
TEST=build with gcc4.8 and check no above warnings appear.

Review URL: https://chromiumcodereview.appspot.com/13811009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194779 0039d316-1c4b-4281-b951-d872f2087c98
parent 92458fa8
......@@ -2710,6 +2710,14 @@
},
},
'conditions': [
# Don't warn about the "typedef 'foo' locally defined but not used"
# for gcc 4.8.
# TODO: remove this flag once all builds work. See crbug.com/227506
[ 'gcc_version>=48', {
'cflags': [
'-Wno-unused-local-typedefs',
],
}],
['target_arch=="ia32"', {
'target_conditions': [
['_toolset=="target"', {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment