github mpaland/printf v4.2.0

2 hours ago

4.2.0 (2026-11-02)

Features

  • format attribute for GCC and Clang (0d673d2), closes #79
  • PRINTF_DISABLE_SUPPORT_PUTCHAR to build without _putchar() (fcffaf9)

Bug Fixes

  • %f above PRINTF_MAX_FLOAT without exponential support kept nothing (5c46ea9)
  • %p with '0x' prefix, lowercase hex digits and "(nil)" for NULL (121f287), closes #57 #84
  • %s with precision read one character beyond the precision (4cf7dba)
  • field width for %p (7eb16e7)
  • incomplete format specifier at the end of the format string (db914c5)
  • INF and NAN in uppercase for %F, %E and %G (092e9f2)
  • width of INT_MIN from an argument (bd0bc40)
  • zero padding and precision beyond the number buffer (37f4913)

Performance

  • no division by a variable base in _ntoa (93be85a), closes #117

Build System

  • remove the pre-CMake Makefile (aff0698)
  • test: update Catch2 to v3.16.1 (55ce53b)

Documentation

  • readme: Include new test suite layout and Catch2 v3 (61c6eb5)
  • readme: update the check count of the test suite (9467319)

Don't miss a new printf release

NewReleases is sending notifications on new releases.