Re: [PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE

2024-05-02 Thread Jarkko Sakkinen
On Wed May 1, 2024 at 2:50 AM EEST, Edward Liaw wrote: > 809216233555 ("selftests/harness: remove use of LINE_MAX") introduced > asprintf into kselftest_harness.h, which is a GNU extension and needs > _GNU_SOURCE to either be defined prior to including headers or with the > -D_GNU_SOURCE flag passe

[PATCH v1 01/10] selftests/sgx: Compile with -D_GNU_SOURCE

2024-04-30 Thread Edward Liaw
809216233555 ("selftests/harness: remove use of LINE_MAX") introduced asprintf into kselftest_harness.h, which is a GNU extension and needs _GNU_SOURCE to either be defined prior to including headers or with the -D_GNU_SOURCE flag passed to the compiler. Fixes: 809216233555 ("selftests/harness: re