summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-07-14 18:49:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-27 08:33:14 +0100
commit76271b5710e8d02d4ca0559cbf72c149f9beb4e2 (patch)
treece13863f710ffe6e46921202797b2fd11c902106 /meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch
parentd60a2ce4b5169d8e903981f492304dadd2a205fb (diff)
downloadopenembedded-core-76271b5710e8d02d4ca0559cbf72c149f9beb4e2.tar.gz
openembedded-core-76271b5710e8d02d4ca0559cbf72c149f9beb4e2.tar.bz2
openembedded-core-76271b5710e8d02d4ca0559cbf72c149f9beb4e2.zip
glib-2.0: Ignore useless warning found with gcc-6
../../glib-2.46.2/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~ | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c: In function 'test_strftime': | ../../../../../../../../workspace/sources/glib-2.0/glib/tests/gdatetime.c:1338:3: error: '%c' yields only last 2 digits of year in some locales [-Werror=format-y2k] | "a%a A%A b%b B%B c%c C%C d%d e%e F%F g%g G%G h%h H%H I%I j%j m%m M%M " \ Additionally fix the problem seen where write() return code is ignored (From OE-Core rev: 3fdecff96dd7516605ec9248b2a39de4db81306f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-5.3/0060-fix-build-when-using-gcc6.patch')
0 files changed, 0 insertions, 0 deletions