Andreas Piesk via Exim-dev <exim-dev@lists.exim.org> (Mi 26 Feb 2025 19:52:57 CET): > I get warnings like these when compiling exim with gcc on linux: > > pdkim.c: In function ‘pdkim_parse_sig_header’: > pdkim.c:615:65: warning: unknown conversion type character ‘Y’ in format > [-Wformat=] > 615 | bad_tag: DEBUG(D_acl) debug_printf(" Unknown tag encountered: %Y\n", > cur_tag); > | ^ > > my printf() doesn't know about %Y and i don't see a register_printf_function, > what I'm missing here?
src/string.c around L 1637 should be used for interpreting this. So I'm not sure, why gcc complains here. Either because it is overly sensible (?) or because in pdkim.c debug_printf is mapped to the standard library's printf? Just wildly guessing. Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE -
signature.asc
Description: PGP signature
-- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-dev.lists.exim.org/ ## unsubscribe (doesn't require an account): ## exim-dev-unsubscr...@lists.exim.org ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/