On 12/22/09 2:39 PM, Mike Frysinger wrote:
> On Tuesday 22 December 2009 08:46:14 Chet Ramey wrote:
>> The first release candidate of bash-4.1 is now available with the URL
>>
>> ftp://ftp.cwru.edu/pub/bash/bash-4.1-rc1.tar.gz
> 
> also, some implicit decls (some ive posted about in the past):
> 
> redir.c:1029: warning: implicit declaration of function ‘xtrace_fdchk’

Good catch.

> shell.c:1726: warning: implicit declaration of function ‘initialize_bashopts’

Interesting, since initialize_bashopts is declared in builtins/common.h,
and shell.c includes that file.

> ./declare.def:515: warning: implicit declaration of function 
> ‘bind_assoc_variable’

Yep, extern declaration missing.

>       looks like the protos need to be moved to a common header
> 
> snprintf.c:954: warning: implicit declaration of function ‘isinf’
> snprintf.c:954: warning: implicit declaration of function ‘isnan’
>       missing math.h include

Nope.  I'll add local extern declarations based on the HAVE_ISXXX_IN_LIBC
defines.  I don't want to link against the math library.

> fnxform.c:64: warning: implicit declaration of function ‘get_locale_var’
>       needs to include externs.h

Good catch.

> execute_cmd.c:4380: warning: implicit declaration of function ‘fpurge’
>       the file needs to '#define NEED_FPURGE_DECL'

And another.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


Reply via email to