]> diplodocus.org Git - nmh/commit
Teach gcc(1) that adios() and friends take printf formats.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 13:32:29 +0000 (14:32 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 13:32:29 +0000 (14:32 +0100)
commitbdf27468d23eade733c0afb4327c9b88444b9058
tree6500c9cf75f56910f9f58416ebe5f82e8455bec2
parent03e153a00cefc6ad1f2f73c6f3c78aec6d67a602
Teach gcc(1) that adios() and friends take printf formats.

It then checks their arguments.  Correct the resulting warnings, e.g.
C89 doesn't have `%zu', but does say size_t shouldn't be wider than
long.  Perhaps an autoconf test can detect if the `format' __attribute__
is supported.
h/mh.h
h/prototypes.h
sbr/m_getfld.c
sbr/utils.c
uip/fmttest.c
uip/mhparse.c