mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
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:
parent
5a16a99800
commit
26de0fd832
3 changed files with 11 additions and 10 deletions
|
@ -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
10
INSTALL
|
@ -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
|
||||
-----------------------------------------
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue