mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-22 22:00:49 +00:00
Regenerated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@12824 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
333aeb4c7e
commit
682dc9f7c7
1 changed files with 18 additions and 0 deletions
18
INSTALL
18
INSTALL
|
@ -96,6 +96,24 @@ variable when calling configure:
|
|||
|
||||
CFLAGS="-I/usr/local/include" ./configure --with-thread-lib="-L/usr/local/lib -lgthread -lglib"
|
||||
|
||||
Warnings for deprecated #import
|
||||
-------------------------------
|
||||
|
||||
The #import directive, often found in legacy Objective-C code from
|
||||
the NeXTstep and OpenStep era, is deprecated. You should use #include
|
||||
instead whenever possible, and even if you use #import, you should
|
||||
protect all your headers against multiple inclusions. The GCC compiler
|
||||
automatically emits a warning whenever you use #import. For political
|
||||
and historical reasons (basically for fear of annoying legacy users),
|
||||
these warnings are disabled by gnustep-make. But if you are not a
|
||||
legacy user and/or you want to make sure your Objective-C code is not
|
||||
using any deprecated feature, you should configure gnustep-make with
|
||||
-disable-import:
|
||||
./configure --disable-import
|
||||
If you are a legacy user, and wonder why #import is deprecated,
|
||||
please search the web and the GCC and GNUstep mailing list archives -
|
||||
there are very precise and sound technical reasons.
|
||||
|
||||
Configuring the GNUstep makefile package for a cross-compile target
|
||||
-------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue