chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH 0/1] Add _XOPEN_SOURCE feature test macro


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH 0/1] Add _XOPEN_SOURCE feature test macro
Date: Sun, 15 Jan 2017 14:40:08 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Jan 15, 2017 at 02:43:09AM +0100, Kooda wrote:
> On Sat, 14 Jan 2017 21:34:16 +0100
> Peter Bex <address@hidden> wrote:
> 
> > I really hate playing this stupid game of whack-a-mole with header
> > definitions (there seems to be no sane combination of definitions that
> > will work on all OSes).  Instead, I think it's better to just give in
> > and add the --std=gnu99 on all platforms where we're using gcc and
> > clang. I'd appreciate if you guys could test this on a x86_64 Windows
> > to see if that also fixes the warnings you saw before.
> 
> I don’t like to be the bearer of bad news but it shows the warning with
> --std=gnu99 here…

Can you try what happens if we add that switch, but remove the various
_*_SOURCE macros from chicken.h?

And if that doesn't help, check what happens if you define _GNU_SOURCE?

Cheers,
Peter

Attachment: signature.asc
Description: Digital signature


reply via email to

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