2008/11/13 Jack Howarth <[EMAIL PROTECTED]>:
> The darwin-specific gcc.dg/cpp/subframework1.c -fno-show-column test case
> is failing under gcc trunk for the excessive errors test because we now
> get warnings...
>
> warning: #import is a deprecated GCC extension
>
> Is there a particular way to modify an excessive errors test case to
> have a particular warning like this be ignored? Thanks in advance for
> any hints on solving this issue.
> Jack
-Wno-deprecated?
Or even better:
/* { dg-warning "import is a deprecated GCC extension" "deprecated" {
target *-*-* } 0 } */
Does that help?
Manuel.