tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Do all -current compilers support C23 typed enum syntax?
On Dec 3, 2026, at 6:43 PM, Taylor R Campbell <riastradh%NetBSD.org@localhost> wrote:
>
>> Date: Thu, 03 Dec 2026 20:30:57 -0500
>> From: Greg Troxel <gdt%lexort.com@localhost>
>>
>> Chris Hanson <cmhanson%eschatologist.net@localhost> writes:
>>
>>> It sounds like this is the approach I should take in what I'm
>>> hacking on in order to enable compilation in older language modes.
>>
>> I think what's appropriate is for you to propose specific changes to
>> the existing rules to core@ and then follow what core@ decides.
>
> Is this for code in NetBSD, or code that runs on NetBSD? I wasn't
> clear from the original question.
I think what Greg said is reasonable, once I actually have something more concrete to share I can bring the language feature request to core.
I’m hacking on a prototype of the IPC mechanism I mentioned a few days ago. There’s not actually much need for this language feature in any public API, only in a debugging function and in the syscalls used in the library implementation.
So this would be for public headers. But given the issues that’ve been raised, if I do propose the language feature be supported, I’d only suggest it be used behind a macro to maintain the headers’ C99 compatibility.
-- Chris
Home |
Main Index |
Thread Index |
Old Index