aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-09 08:54:58 -0600
committerTom Tromey <tromey@adacore.com>2024-04-15 09:21:40 -0600
commit75670e0075df0f6fc8c324ea11de193a038274d6 (patch)
tree51dc4ba098d49dcf771c17fe82b4c298496f7423 /bfd/elf.c
parentbdcd50f901e3db5b773b6462813a50b9649aad57 (diff)
downloadgdb-75670e0075df0f6fc8c324ea11de193a038274d6.zip
gdb-75670e0075df0f6fc8c324ea11de193a038274d6.tar.gz
gdb-75670e0075df0f6fc8c324ea11de193a038274d6.tar.bz2
Avoid complaint warning on mingw
The mingw build currently issues a warning: ./../../src/gdb/utils.h:378:56: warning: ignoring attributes on template argument 'void(const char*, va_list)' {aka 'void(const char*, char*)'} [-Wignored-attributes] This patch fixes the problem as suggested by Simon: https://sourceware.org/pipermail/gdb-patches/2024-April/207908.html ...that is, by changing the warning interceptor to a class with a single 'warn' method. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'bfd/elf.c')
0 files changed, 0 insertions, 0 deletions