Paolo Carlini <[email protected]> writes: > Ian Lance Taylor wrote: >> OK, to me that seems like an excellent reason to implement a special >> case for the warning here. For example, perhaps if a struct has only >> one field, and that field is an aggregate, then we don't warn if there >> is only one set of braces. >> > Sure, we considered that, you can find traces of that reasoning in the > audit trail, then lately I noticed the ICC and SunStudio behaviors, and > that idea appeared to me a tad too sophisticated... but if people agree, > I can return to it. Do you think that version of the warning should be > simply the default, right, simply the new behavior of -Wmissing-braces?
I suppose so but I'd be happy to hear other opinions. Ian
