This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: warning: #import is a deprecated GCC extension


2008/11/13 Jack Howarth <howarth@bromo.msbb.uc.edu>:
>  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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]