[Bug c++/7876] g++ doesn't diagnose One Reference Rule violation

2008-12-16 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-16 19:21 --- This has been fixed since 4.3.0: t.cc:7: error: declaration of 'typedef struct X A::X' t.cc:2: error: changes meaning of 'X' from 'struct X' -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/7876] g++ doesn't diagnose One Reference Rule violation

2006-02-07 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-07 14:33 --- I am going to reopen this one as we diagnostic the non template version: struct X { }; struct B { }; struct A { typedef X X; }; But I am going to change the Severity to enhancement. -- pinskia at gcc d

[Bug c++/7876] g++ doesn't diagnose One Reference Rule violation

2006-02-07 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7876