mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
7f9495b213
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 a printf-like function. |
||
---|---|---|
.. | ||
ChangeLog-2021 | ||
dv-m68hc11.c | ||
dv-m68hc11eepr.c | ||
dv-m68hc11sio.c | ||
dv-m68hc11spi.c | ||
dv-m68hc11tim.c | ||
dv-nvram.c | ||
emulos.c | ||
gencode.c | ||
interp.c | ||
interrupts.c | ||
interrupts.h | ||
local.mk | ||
m68hc11_sim.c | ||
Makefile.in | ||
sim-main.h |