bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] [Patch] Use -isystem in Makefile to suppress warnings fro


From: Tim Rühsen
Subject: Re: [Bug-wget] [Patch] Use -isystem in Makefile to suppress warnings from libraries
Date: Fri, 29 Jan 2016 20:46:09 +0100
User-agent: KMail/4.14.10 (Linux/4.3.0-1-amd64; KDE/4.14.14; x86_64; ; )

Am Freitag, 29. Januar 2016, 17:32:15 schrieb Eli Zaretskii:
> > From: Darshit Shah <address@hidden>
> > Date: Fri, 29 Jan 2016 15:45:02 +0100
> > Cc: Bug-Wget <address@hidden>
> > 
> > Most of them are actually false positives, probably due to us. Gnulib
> > uses some more modern code extensions and the compiler keeps warning
> > us about it since we set the C language to std=gnu89.
> 
> Does Gnulib assume C99?  Is that documented somewhere?
> 
> > I'm not happy about this fact, but this discussion has happened
> > multiple times and I don't think we will be moving to a more modern
> > setup anytime soon. I would personally prefer using *at least* C99,
> > a more recent version like C11 would be even better, but not all
> > compiler would support that.
> 
> If Gnulib requires C99, why not use -std=gnu99 if it is supported?
> Many packages already do.

First of all we should define (make a list) which systems/compilers we want to 
support. With this list we can definitely decide about C89 vs. C99.

AFAIR, C89 is still the standard that GNU projects should aim at. But we could 
simply ask the gnulib people where the train goes.

@Darshit I recently experience some warnings from gnulib code, but not that 
many... could you give us more details about your setup ?

Basically I get warnings because of -pedantic.

Tim

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


reply via email to

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