Re: Proposal: change requirement for tools from C89 to C99

Robert Elz <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
    Date:        Mon, 31 Jan 2022 13:09:12 +0100
    From:        Joerg Sonnenberger <[email protected]>
    Message-ID:  <[email protected]>

Thanks.

  | The most significant one is a %z support in printf(3) and friends.

That one seems worthwhile requiring support for - it should also
be quite easy to deal with, as aside from compiler printf arg checking
(and I doubt compilers old enough to not understand %z will be
doing much of that) the support is all in libc, not the compiler,
which tends to be much more approachable if someone discovers their
environment doesn't handle it.

  | Things like declaring auto variables just before use etc
  | are also quite easy to slip into code.

They are, unfortunately.  That one in particular I don't like,
I like to be able to find var decls at the start of a block
(always just after a '{' nowhere else) so if it was just that
I wouldn't much like it (and this one does need compiler support).

kre
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.