Re: [PATCH] fix build
From: Frederic Danis <hidden>
Date: 2011-10-17 13:03:58
Hello Johan, Le 17/10/2011 13:10, Johan Hedberg a écrit :
Hi Frédéric, On Mon, Oct 17, 2011, Frédéric Danis wrote:quoted
src/eir.c: In function ‘eir_parse’: src/eir.c:72: error: ‘name_len’ may be used uninitialized in this function and thermometer/thermometer.c: In function ‘destroy_char’: thermometer/thermometer.c:79: error: implicit declaration of function ‘g_slist_free_full’ --- src/eir.c | 2 +- thermometer/thermometer.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-)Strange. Current git compiles just fine under Fedora 16 beta (gcc 2.6.1) as well as debian unstable (also gcc 2.6.1). Which gcc version do you use?
Ubuntu 10.10 32 bits with gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
I'd push the patch upstream but it fails to apply: fatal: cannot convert from UTF-8utf-8 to UTF-8 I suspect that's because of the double Content-Type header in your email. Could you try to fix it?
I will send new version removing double Content-Type header Fred -- Frederic Danis Open Source Technology Centre frederic.danis@intel.com Intel Corporation