[Bug c/47102] error message "duplicate member" in error ?
jsm28 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 29 11:43:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47102
--- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2010-12-29 11:43:20 UTC ---
The diagnostic is correct; the code is invalid; C1X requires this to be
diagnosed; it is ambiguous whether "page" refers to an element directly in the
struct or one accessed via the anonymous union therein. See bug 4784.
More information about the Gcc-bugs
mailing list