Re: [PATCH] enhance documentation of -Wstringop-truncation

2017-12-05 Thread Jeff Law
On 12/03/2017 04:55 PM, Martin Sebor wrote: > It was suggested to me that it might be helpful to mention > attribute nonstring as a solution to -Wstringop-truncation > warnings.  I think it's a good idea to add a reference to > the attribute to the manual.  The attached patch does that. > > Since 

[PATCH] enhance documentation of -Wstringop-truncation

2017-12-03 Thread Martin Sebor
It was suggested to me that it might be helpful to mention attribute nonstring as a solution to -Wstringop-truncation warnings. I think it's a good idea to add a reference to the attribute to the manual. The attached patch does that. Since the attribute is suitable only under rare conditions su