Re: [C++ PATCH] Only warn with -Wc++1z-compat about mangling of visible symbols

2016-11-10 Thread Jason Merrill
OK. On Thu, Nov 10, 2016 at 8:52 AM, Jakub Jelinek wrote: > Hi! > > It seems -Wabi/-Wc++1z-compat warns about mangling changes even for symbols > that are > not visible outside of its TU (so likely only inline asm or tools > looking at .symtab STB_LOCAL symbols would notice). Perhaps that is fi

[C++ PATCH] Only warn with -Wc++1z-compat about mangling of visible symbols

2016-11-10 Thread Jakub Jelinek
Hi! It seems -Wabi/-Wc++1z-compat warns about mangling changes even for symbols that are not visible outside of its TU (so likely only inline asm or tools looking at .symtab STB_LOCAL symbols would notice). Perhaps that is fine for -Wabi that isn't enabled in -Wall/-Wextra, but -Wc++1z-compat is