Skip to content

Conversation

ricted98
Copy link

@ricted98 ricted98 commented Oct 15, 2025

I have noticed that the current submodule of printf points to a repository which is no longer mantained (see mpaland/printf#128). Instead, a fork of it is currently the most up-to-date version available (see https://github.com/eyalroz/printf). Since I needed some specific format specifiers to run selected benchmarks of Cheshire which were better supported in the currently mantained fork, I went through the changes needed to switch to the new submodule.

Some observations:

  • The new submodule requires an additional compilation define (PRINTF_ALIAS_STANDARD_FUNCTION_NAMES_HARD)
  • The header to be included is now printf/printf.h
  • Several format specifiers resulted in warnings due to data types mismatches. I should have fixed them.

If you believe it makes sense to adopt it generally, we can iterate on this PR.

@ricted98 ricted98 requested a review from paulsc96 October 15, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant