tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: C99/C11/C18 for base system sources?



Am Sat, Mar 12, 2022 at 10:11:13PM +0000 schrieb Joseph Koshy:
> Greetings,
> 
> What's the C standard that NetBSD base system sources are expected to conform to?
> 
> Would it be reasonable to assume that the current set of (cross)-compilers can handle C99 syntax?

Depends on whether it is used as host tool or not. For a host tool, the
language was recently bumped to C99. For normal non-host-tools, C99 has
been fine for years and all actively supported compilers are fine with
C11 too.

Joerg


Home | Main Index | Thread Index | Old Index