diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-11 12:39:53 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 23:01:36 +0100 |
commit | 2281180499cf3bec5c7e75cb596725dab190f72c (patch) | |
tree | a497f65d8dd1310863329cbddde34737208677d1 /meta/recipes-sato/matchbox-panel-2 | |
parent | 20992e8a00c585ab6b0611ca23ccd57e2b86b727 (diff) | |
download | openembedded-core-2281180499cf3bec5c7e75cb596725dab190f72c.tar.gz openembedded-core-2281180499cf3bec5c7e75cb596725dab190f72c.tar.bz2 openembedded-core-2281180499cf3bec5c7e75cb596725dab190f72c.zip |
puzzles: fix do_compile failed when DEBUG_BUILD
There were compiling failure with option -g -O
...
././gtk.c: In function 'configure_area':
././gtk.c:397:2: error: 'cr' may be used uninitialized in this function [-Werror=maybe-uninitialized]
cairo_set_source_rgb(cr,
^
././gtk.c:384:14: note: 'cr' was declared here
cairo_t *cr;
^
././gtk.c: In function 'main':
././gtk.c:2911:6: error: 'error' may be used uninitialized in this function [-Werror=maybe-uninitialized]
fprintf(stderr, "%s: %s\n", pname, error);
^
cc1: all warnings being treated as errors
...
Initialized the pointers 'cr' and 'error' with NULL
[YOCTO #6410]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/matchbox-panel-2')
0 files changed, 0 insertions, 0 deletions