Update for new recommended status of #import

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@24002 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-31 13:01:34 +00:00
parent 5a16a99800
commit 26de0fd832
3 changed files with 11 additions and 10 deletions

View file

@ -1,3 +1,9 @@
2006-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* common.make: Disable warnings about #import as it is now recommended
rather then deprecated!
* INSTALL: Remove obsolete commments about #import
2006-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* target.make: For Solaris replace -G with -shared in

10
INSTALL
View file

@ -112,16 +112,6 @@ variable when calling configure:
CPPFLAGS="-I/usr/local/include" ./configure --with-thread-lib="-L/usr/local/lib -lgthread -lglib"
Warnings for #import
--------------------
Up until gcc 3.4, the #import directive was not implemented correctly.
As a result, the GCC compiler automatically emitted a warning whenever
#import was used. As of gcc 3.4, this problem has been fixed, so
presumable, this warning is no longer emitted when code is compiled. If
you are using an early compiler, you can supress these warnings by
adding `-Wno-import' to `CPPFLAGS' in the config.make file.
Configuring for a non-flattened structure
-----------------------------------------

View file

@ -544,6 +544,11 @@ else
ADDITIONAL_FLAGS += -DGSDIAGNOSE
endif
# The use of #import is no longer deprecated in gcc, and is supposed
# to be recommended from now on ... so we disable the warnings for
# older compilers.
ADDITIONAL_FLAGS += -Wno-import
AUXILIARY_CPPFLAGS += $(GNUSTEP_DEFINE) \
$(FND_DEFINE) $(GUI_DEFINE) $(BACKEND_DEFINE) \
$(RUNTIME_DEFINE) $(FOUNDATION_LIBRARY_DEFINE)