------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 15:10 ------- (In reply to comment #1) Yes which is why I did not confirm it yet because I did not look at fully. I just added the diagnostic keyword because it is still a wrong warning. I am adding wrong-code also. Reduced testcase: ---- a.ii ---- # 1 "a.cc" # 0 "<built-in>" # 1 "<command line>" # 1 "a.cc" #pragma implementation # 1 "a.h" 1 struct B { B(){}; ~B(){} }; #pragma interface struct A { B a;
}; # 3 "a.cc" 2 ---- use.ii ---- # 1 "use.cc" # 0 "<built-in>" # 1 "<command line>" # 1 "use.cc" # 1 "a.h" 1 struct B { B(){}; ~B(){} }; #pragma interface struct A { B a; }; # 2 "use.cc" 2 A a; int main() {} -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |wrong-code Last reconfirmed|0000-00-00 00:00:00 |2005-06-30 15:10:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22252