mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-11 02:23:41 +08:00
e9a433bf19
Clang generates a warning if the format string of a printf-like function is not a literal ("-Wformat-nonliteral"). On the default configuration, it causes a build failure (unless "--disable-werror" is specified). To avoid warnings on the printf-like wrapper, it requires proper __attribute__((format)) and we have ATTRIBUTE_PRINTF macro for this reason. This commit adds ATTRIBUTE_PRINTF to the printf-like functions. |
||
---|---|---|
.. | ||
ChangeLog-2021 | ||
cpu.c | ||
cpu.h | ||
gdb-if.c | ||
load.c | ||
load.h | ||
main.c | ||
Makefile.in | ||
mem.c | ||
mem.h | ||
rl78.c | ||
trace.c | ||
trace.h |