Re: [c/c++] Alias Wmissing-format-attribute to Wsuggest-attribute=format

2012-04-29 Thread Gabriel Dos Reis
On Sun, Apr 29, 2012 at 4:28 AM, Manuel López-Ibáñez wrote: > Since Wsuggest-attribute=[pure|const|noreturn] was introduced, it > makes sense to have Wsuggest-attribute=format. This patch makes this > the canonical form of Wmissing-format-attribute (the old form is still > accepted and documented)

[c/c++] Alias Wmissing-format-attribute to Wsuggest-attribute=format

2012-04-29 Thread Manuel López-Ibáñez
Since Wsuggest-attribute=[pure|const|noreturn] was introduced, it makes sense to have Wsuggest-attribute=format. This patch makes this the canonical form of Wmissing-format-attribute (the old form is still accepted and documented). Bootstrapped and regression tested. OK? 2012-04-29 Manuel Lópe