On Wed, Aug 14, 2019, 11:44 AM Pedro Alves <pal...@redhat.com> wrote:
> On 7/12/19 9:24 AM, Jakub Jelinek wrote: > > I'd just arrange that when being compiled with clang we compile with > > -Wno-mismatched-tags to get rid of their misdesigned warning and not add > > such misdesigned warning to GCC, that will just help people spread this > > weirdo requirement further. > > FWIW and FYI, this is what GDB does (gdb/warning.m4). > As I understand it, the warning reflects a hard requirement for code that wants to be portable to MSVC++, so I think it's useful to have for that purpose. Jason