Commit 75670e00 authored by Tom Tromey's avatar Tom Tromey
Browse files

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: default avatarSimon Marchi <simon.marchi@efficios.com>
parent bdcd50f9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment