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
OK.
Jason
... 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
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