On Tue, Apr 30, 2024 at 11:50:09PM +0000, 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 passed to the compiler. This seems like something that should be handled centrally rather than having to go round and audit the users every time some update is made.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- From: Sean Christopherson
- Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- From: Muhammad Usama Anjum
- Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- References:
- [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- From: Edward Liaw
- [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- Prev by Date: Re: [PATCH v20 33/41] ASoC: usb: Create SOC USB SND jack kcontrol
- Next by Date: Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- Previous by thread: [PATCH v1 10/10] selftests/user_events: Compiled with -D_GNU_SOURCE
- Next by thread: Re: [PATCH v1 00/10] Define _GNU_SOURCE for sources using
- Index(es):