Re: [PATCH 1/2] parse-options: add int value pointer to struct option
- From
Kristoffer Haugsbakk <code@khaugsbakk.name>
- Date
- Sep 18, 2023, 11:34 UTC
- Message-ID
- <29780299-b3a2-4f4a-b236-ba6fbd24b6a3@app.fastmail.com>
- In-Reply-To
- <ZP+UgvIon1lrIFa+@ugly>
On Tue, Sep 12, 2023, at 00:28, Oswald Buddenhagen wrote:
> i'd go the opposite way and make it an anonymous union. > that would require c11, though. imo not exactly an outrageous > proposition in 2023, but ...
Moving to C11 would get pushback because not all platforms that people care about support that compiler.[1]
[1] https://lore.kernel.org/git/004601d8ed6b$13a2f580$3ae8e080$@nexbridge.com/
-- Kristoffer Haugsbakk