1 From: Yannick GICQUEL <yannick.gicquel@open.eurogiciel.org>
2 Date: Wed, 29 Jan 2014 11:20:11 +0100
4 Build is broken on x86_64 due to narrowing warning treated as an error.
5 This patch is a workaround to avoid this warning. Correction should be
6 placed in generated code V8DOMConfiguration::ConstantConfiguration::value
8 BUG=https://crosswalk-project.org/jira/browse/XWALK-917
10 Signed-off-by: Yannick GICQUEL <yannick.gicquel@open.eurogiciel.org>
11 --- src/third_party/WebKit/Source/config.gyp
12 +++ src/third_party/WebKit/Source/config.gyp
14 # nullptr) conflict with upcoming c++0x types.
15 'cflags_cc': ['-Wno-c++0x-compat'],
17 + ['gcc_version>=47', {
18 + # Disable warnings about narrowing conversion due to C++11 std.
19 + # Jira: https://crosswalk-project.org/jira/browse/XWALK-917
20 + 'cflags_cc': ['-Wno-narrowing'],
22 ['OS=="linux" and target_arch=="arm"', {
23 # Due to a bug in gcc arm, we get warnings about uninitialized
24 # timesNewRoman.unstatic.3258 and colorTransparent.unstatic.4879.