[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to avoid "warning: #import is obsolete"
From: |
Jeff Teunissen |
Subject: |
Re: How to avoid "warning: #import is obsolete" |
Date: |
Sat, 05 Jul 2003 09:04:23 -0400 |
Andreas Hoeschler wrote:
>
> Hi all,
>
> ...
> Compiling file FBRelationCarrier.m ...
> FBRelationCarrier.m:3:2: warning: #import is obsolete, use an #ifndef
> wrapper in the header file
> Compiling file FBDataExtension.m ...
> FBDataExtension.m:3:2: warning: #import is obsolete, use an #ifndef
> wrapper in the header file
> Compiling file FBErrorManager.m ...
> FBErrorManager.m:3:2: warning: #import is obsolete, use an #ifndef
> wrapper in the header file
> Compiling file FBStringExtension.m ...
> FBStringExtension.m:3:2: warning: #import is obsolete, use an #ifndef
> wrapper in the header file
> ...
>
> please, how can this be suppressed. I found an article abiut this issue
> mentioning -Wimport. Where do I have to put or delete this string to
> avoid these warnings? Thanks a lot!
-Wno-import in ADDITIONAL_OBJCFLAGS.
--
| Jeff Teunissen -=- Pres., Dusk To Dawn Computing -=- deek @ d2dc.net
| GPG: 1024D/9840105A 7102 808A 7733 C2F3 097B 161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project http://www.quakeforge.net/
| Specializing in Debian GNU/Linux http://www.d2dc.net/~deek/