discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #import is obsolete


From: Philippe C . D . Robert
Subject: Re: #import is obsolete
Date: Fri, 4 Jul 2003 23:25:58 +0200

Hi Andreas,

#import is deprecated, instead #include should be used in conjunction with include guards. See previous threads about this topic.

-Phil

On Friday, July 4, 2003, at 09:25 PM, Andreas Hoeschler wrote:

Hi,

while building my MacOSX code on GNUstep (latest release) I get stuff like

Controller.m:2:2: warning: #import is obsolete, use an #ifndef wrapper in the header file

What is this about? Why is usage of #import discouraged? I would like to use the same source tree for MacOSX and GNUstep. Is this a critical message or can it savely be ignored?

Thanks a lot,

   Andreas




_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep


--
Philippe C.D. Robert
http://www.nice.ch/~phip





reply via email to

[Prev in Thread] Current Thread [Next in Thread]