[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: |
Eli Zaretskii |
Subject: |
Re: [Bug-wget] [Patch] Use -isystem in Makefile to suppress warnings from libraries |
Date: |
Fri, 29 Jan 2016 17:32:15 +0200 |
> 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.