[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i guess we're frozen & stuff
From: |
Ludovic Courtès |
Subject: |
Re: i guess we're frozen & stuff |
Date: |
Tue, 11 Aug 2009 22:31:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Mike Gran <address@hidden> writes:
>> From: Juhani Viheräkoski address@hidden
[...]
>> strings.c: In function ‘scm_string_append’:
>> strings.c:1300: error: ‘data’ may be used uninitialized in this function
>> make[3]: *** [libguile_la-strings.lo] Error 1
[...]
> This one's okay, I think. The allocation is made in make_stringbuf and
> `data'
> is set to point to its buffer.
>
> We'll have to set it to NULL in scm_string_append and other places to quiet
> warnings.
Yes. Or use "union { char *narrow; scm_t_wchar *wide; }" to make things
obvious.
Thanks,
Ludo'.
Re: i guess we're frozen & stuff, Mike Gran, 2009/08/11
Re: i guess we're frozen & stuff, Juhani Viheräkoski, 2009/08/11
Re: i guess we're frozen & stuff, Greg Troxel, 2009/08/11
unsigned char confusion, Greg Troxel, 2009/08/11
Re: i guess we're frozen & stuff, Ken Raeburn, 2009/08/11