[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openconnect-devel
Subject:    [PATCH 6/6] define _GNU_SOURCE to get asprintf's definition
From:       nmav () gnutls ! org (Nikos Mavrogiannopoulos)
Date:       2014-08-26 13:18:51
Message-ID: CAJU7zaJcxEm9-QHdmQ7v28vgsTh7sGvnibQmxDNQf7UsYoBiWw () mail ! gmail ! com
[Download RAW message or body]

On Tue, Aug 26, 2014 at 3:07 PM, David Woodhouse <dwmw2 at infradead.org> wrote:
>> In my mingw build I have asprintf (configure detects it), but my build
>> fails unless I define _GNU_SOURCE due to the -Werror undefined.
> Hm, should we be adding -Werror=undefined to CFLAGS *before* we do the
> checks for asprintd etc.?

That should have been better, but I don't think that the current
macros add the flags in the compiler flags used during the configure.

regards,
Nikos


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic