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

Joerg Sonnenberger <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.