[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] Fixing C89 warnings
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] [PATCH] Fixing C89 warnings |
Date: |
Wed, 19 Nov 2014 12:11:34 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
;-) From my post:
> > This patch fixes most C89 warnings for me (-std=c89 -pedantic) since these
If the patch in my original post is OK for you, I'll would like to push it.
Tim
On Wednesday 19 November 2014 07:17:35 Darshit Shah wrote:
> 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
signature.asc
Description: This is a digitally signed message part.
Re: [Bug-wget] [PATCH] Fixing C89 warnings, Gisle Vanem, 2014/11/19