Re: [PATCH] libasm: Fix GCC7 one -Wformat-truncation=2 warning.

2017-03-24 Thread Mark Wielaard
On Sun, 2017-02-12 at 21:54 +0100, Mark Wielaard wrote: > Make sure that if we have really many labels the tempsym doesn't get > truncated because it is too small to hold the whole name. I pushed this to master. It has been in the fedora elfutils for some time now. > This doesn't enable -Wformat-

[PATCH] libasm: Fix GCC7 one -Wformat-truncation=2 warning.

2017-02-12 Thread Mark Wielaard
Make sure that if we have really many labels the tempsym doesn't get truncated because it is too small to hold the whole name. This doesn't enable -Wformat-truncation=2 or fix other "issues" pointed out by enabling this warning because there are currently some issues with it. https://gcc.gnu.org/b