This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Redundant warning with -Weffc++


David Sveningsson wrote:

> Yes but if a field in the union is fully initialized it shouldn't warn
> about the others. That's kind of the point with a union.

True.  I don't think there is an easy answer for this.  It's the usual
free software cry: "Patches welcome!"

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]