Re: [ANNOUNCEMENT] GDB 8.1 release branch created!

Eli Zaretskii
2018-01-17T18:21:13Z

> Cc: gdb-patches@sourceware.org
> From: Pedro Alves <palves@redhat.com>
> Date: Wed, 17 Jan 2018 16:49:58 +0000
>
> > How about using GCC pragma to shut up this warning in that particular
> > place?
> IIRC, last I tried, it make the code exceedingly ugly. See:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635#c9

It doesn't look too ugly to me, FWIW. Its advantage is that it
documents exactly what is the problem being worked around here, and
makes finding the affected places easy. By contrast, leaving the
warnings around and keeping the information about the problem in some
mailing list posting makes its discoverability much lower, and the
probability that someone else will spend time trying to understand it
higher. And the warning is quite cryptic, at least to my naÃ¯ve eyes.