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?



Chris Hanson <cmhanson%eschatologist.net@localhost> writes:

> I’m designing a subsystem (including system calls) and I’d like to use “typed enums” in the API rather than #define or anonymous enums and int parameters.

Would this mean that programs that either
  use your API
  include a header where this is defined

could only be compiled with a compiler in --std=c23 mode?


Home | Main Index | Thread Index | Old Index