[PATCH 6/6] define _GNU_SOURCE to get asprintf's definition
Nikos Mavrogiannopoulos
nmav at gnutls.org
Tue Aug 26 06:18:51 PDT 2014
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
More information about the openconnect-devel
mailing list