tech-toolchain archive

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

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



    Date:        Mon, 31 Jan 2022 13:09:12 +0100
    From:        Joerg Sonnenberger <joerg%bec.de@localhost>
    Message-ID:  <YffRaPulC2CaAHmP%bec.de@localhost>

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


Home | Main Index | Thread Index | Old Index