[PATCH 6/6] define _GNU_SOURCE to get asprintf's definition

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

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux