bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [PATCH] Fixing C89 warnings


From: Darshit Shah
Subject: Re: [Bug-wget] [PATCH] Fixing C89 warnings
Date: Wed, 19 Nov 2014 07:17:35 +0530

I think we use std=gnu89 or std=gnu99.

I've been using these and get no warnings on clang anymore.

What configure command and CFLAGS are you using? I'd like to reproduce
these and try to fix them.

Thanking You,
Darshit Shah
Sent from mobile device. Please excuse my brevity
On 19-Nov-2014 2:35 am, "Tim Rühsen" <address@hidden> wrote:

> This patch fixes most C89 warnings for me (-std=c89 -pedantic) since these
> may
> prevent from compiling with MSVC.
>
> There are still some warnings "ISO C forbids conversion of function
> pointer to
> object pointer type [-Wpedantic]" left over. I'll care for these the next
> days. There are architectures where function pointers have a different size
> from void *. That's why this warning has a meaning.
>
> Tim
>


reply via email to

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