[Bug c/31367] Should not warn about use of deprecated type in deprecated struct

2010-05-18 Thread ethouris at gmail dot com
--- Comment #4 from ethouris at gmail dot com 2010-05-18 07:14 --- No matter which entity is actually affected in the example above, 'foo' is a type of field used inside the entity. In all these cases, deprecation warning should not be reported for the field of type 'foo'. It should be

[Bug c/31367] Should not warn about use of deprecated type in deprecated struct

2007-03-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-03-26 19:42 --- Confirmed, the C front-end also gives the warning. [EMAIL PROTECTED]:~$ ~/x86-local-fsf/bin/gcc t.c -S t.c:4: warning: 'foo' is deprecated -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c/31367] Should not warn about use of deprecated type in deprecated struct

2007-03-26 Thread david at luyer dot net
--- Comment #2 from david at luyer dot net 2007-03-26 21:27 --- Two other related cases which generate warnings. I'm not sure which is the correct syntax to mark a field deprecated, but both are currently generating warnings, and marking a field which uses a deprecated type as

[Bug c/31367] Should not warn about use of deprecated type in deprecated struct

2007-03-26 Thread spark at gcc dot gnu dot org
--- Comment #3 from spark at gcc dot gnu dot org 2007-03-27 00:56 --- # cat -n t.c 1 typedef __attribute__((deprecated)) int foo; 2 typedef 3 struct 4 __attribute__((deprecated)) 5 bar1 6 { 7foo baz; 8 } 9 bop1;