diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-10-10 15:27:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-19 17:47:06 +0100 |
commit | ef16c20e6936218ff96c599cce0200c34f5017dd (patch) | |
tree | 75f3a2b211a1c50151af5f2a237546f71b92ca34 /scripts/lib/devtool/standard.py | |
parent | cea4f6b86129f84a99700207777929bf7e811ed6 (diff) | |
download | openembedded-core-ef16c20e6936218ff96c599cce0200c34f5017dd.tar.gz openembedded-core-ef16c20e6936218ff96c599cce0200c34f5017dd.tar.bz2 openembedded-core-ef16c20e6936218ff96c599cce0200c34f5017dd.zip |
gcc-4.x: fix wrong warning when using the universal zero initializer {0}
When I upgrade efivar to 0.21, it fails to compile with error messages:
| linux.c:850:9: error: missing braces around initializer
[-Werror=missing-braces]
| struct ifreq ifr = { 0, };
| ^
It is a known issue of gcc. Backport patch from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
to fix wrong warning when using the universal zero initializer {0}.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions