Re: [PATCH v1 1/1] selftests/sgx: Fix the implicit declaration of asprintf() compiler error
From: Jarkko Sakkinen
Date: Mon May 13 2024 - 07:21:04 EST
On Mon May 13, 2024 at 12:43 PM EEST, Mirsad Todorovac wrote:
> Thanks for your explanation.
>
> I did not realise that __USE_GNU is evil. :-/
It's not "evil" IMHO. It is not just part of defined API :-)
Thus the official man pages are your friend.
>
> FWIW, there is a sound explanation of the difference between
> _GNU_SOURCE and __USE_GNU
> here: https://stackoverflow.com/questions/7296963/gnu-source-and-use-gnu
>
> Thanks,
> Mirsad
BR, Jarkko