bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Remove most warnings for missing extern


From: Tim Ruehsen
Subject: Re: [Bug-wget] Remove most warnings for missing extern
Date: Fri, 21 Nov 2014 15:09:36 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

On Friday 21 November 2014 17:13:22 Darshit Shah wrote:
> Clang provides some warnings for missing extern declarations for non-static
> variables. The following two patches clear most of them. I can currently see
> only more such warning which is caused by build_info.c. To fix this,
> someone will have to hack on the build_info.px perl script.

After ./boostrap
./configure

I get

main.c:58:21: fatal error: version.h: No such file or directory
 #include "version.h"


Maybe you can also fix these warnings them before pushing:

host.c: In function 'address_list_set_faulty':
host.c:148:55: warning: unused parameter 'index' [-Wunused-parameter]
 address_list_set_faulty (struct address_list *al, int index)

cookies.c: In function 'discard_matching_cookie':
cookies.c:303:15: warning: variable 'res' set but not used [-Wunused-but-set-
variable]
           int res;

Tim

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]