diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2017-04-06 14:23:14 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | f70179e280b5f518ae160f0d14496f2a730c8140 (patch) | |
tree | 533cd2442f7b8cd1b3fddec4c260fdc87e776c6c /meta/recipes-devtools/ossp-uuid | |
parent | 5784961762205ee000cbbfc115b0b356fd4ea197 (diff) | |
download | poky-f70179e280b5f518ae160f0d14496f2a730c8140.tar.gz |
gcc-6.3: backport fix of check for empty string in ubsan.c
Building gcc-cross-initial with GCC7 on the host fails due to the
comparison of a pointer to an integer in ubsan_use_new_style_p, which
is forbidden by ISO C++:
ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and
integer [-fpermissive]
|| xloc.file == '\0' || xloc.file[0] == '\xff'
Backport the fix from upstream GCC to enable the build with GCC 7
(From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ossp-uuid')
0 files changed, 0 insertions, 0 deletions