------- Comment #4 from ian at airs dot com 2007-03-21 14:39 ------- With current mainline, I get no warning for this:
struct Foo { int i; } __attribute__ ((deprecated)); void foo() { Foo f; } but I do get a warning for this: struct Foo { int i; } __attribute__ ((deprecated)); void foo() { struct Foo f; } The only different is the "struct" keyword. That is bizarre. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16370