[Bug c/44692] Ambiguous member names in anonymous struct/union does not error

2010-06-27 Thread jsm28 at gcc dot gnu dot org
--- Comment #3 from jsm28 at gcc dot gnu dot org 2010-06-27 18:31 --- That documentation is for current development sources, where those errors are given. Note that http://gcc.gnu.org/onlinedocs/gcc-4.5.0/gcc/Unnamed-Fields.html has different wording. -- jsm28 at gcc dot gnu dot o

[Bug c/44692] Ambiguous member names in anonymous struct/union does not error

2010-06-27 Thread mark-gcc at pogo dot org dot uk
--- Comment #2 from mark-gcc at pogo dot org dot uk 2010-06-27 18:22 --- Created an attachment (id=21019) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21019&action=view) Preprocessed source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44692

[Bug c/44692] Ambiguous member names in anonymous struct/union does not error

2010-06-27 Thread mark-gcc at pogo dot org dot uk
--- Comment #1 from mark-gcc at pogo dot org dot uk 2010-06-27 18:22 --- Created an attachment (id=21018) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21018&action=view) Example program Source code, compile and test with: gcc -Wall anon.c && ./a.out -- http://gcc.gnu.org