aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-04-13 11:15:38 -0400
committerSimon Marchi <simon.marchi@efficios.com>2022-04-13 14:39:14 -0400
commit08755c5aadfff98c4c3db60f3043589015414f11 (patch)
tree7fef89e7b33b726038790f18005bb38f25a69ea0 /gdb/c-lang.c
parentfebb368c894f53bd9bf0b198e0143eac02391053 (diff)
downloadgdb-08755c5aadfff98c4c3db60f3043589015414f11.zip
gdb-08755c5aadfff98c4c3db60f3043589015414f11.tar.gz
gdb-08755c5aadfff98c4c3db60f3043589015414f11.tar.bz2
gdb: add ATTRIBUTE_PRINTF to complaint_interceptor::issue_complaint
Fix this error when building with clang++-14: CXX complaints.o /home/smarchi/src/binutils-gdb/gdb/complaints.c:130:65: error: format string is not a string literal [-Werror,-Wformat-nonliteral] g_complaint_interceptor->m_complaints.insert (string_vprintf (fmt, args)); ^~~ Change-Id: I0ef11f970510eb8638d1651fa0d5eeecd6a9d31a
Diffstat (limited to 'gdb/c-lang.c')
0 files changed, 0 insertions, 0 deletions