Re: [C++ Patch] PR 25137 (no -Wmissing-braces in -Wall version)

2012-05-29 Thread Paolo Carlini
On 05/28/2012 06:39 PM, Jason Merrill wrote: OK. Thanks. I also applied as obvious the below, provided by Manuel, and changing this warning too to use the new LangEnabledBy. Paolo. / 2012-05-29 Manuel López-Ibáñez * c.opt (Wmissing-braces): Use LangEnabledB

Re: [C++ Patch] PR 25137 (no -Wmissing-braces in -Wall version)

2012-05-28 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 25137 (no -Wmissing-braces in -Wall version)

2012-05-26 Thread Paolo Carlini
... and this is the version of the patch which simply takes -Wmissing-braces out of -Wall in C++. Bootstrapped and tested all C-family languages x86-64-linux. Paolo. /// Index: doc/invoke.texi === --- doc/invoke.te

[C++ Patch] PR 25137

2012-05-26 Thread Paolo Carlini
Hi, I found the time to return to this issue, where -Wmissing-braces is often overeager to warn, thus annoying, for example, people using -Wall together with std::array: std::array s = { 1, 2, 3 }; I handle the issue following the letter of the suggestion given by Ian at the time: do no