[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PATCH: suppress deprecation warnings on OS X Leopard
From: |
Blake Nicholson |
Subject: |
PATCH: suppress deprecation warnings on OS X Leopard |
Date: |
Tue, 18 Mar 2008 16:00:28 -0400 |
The following patch modifies target.make so that it adds the compiler
option -Wno-deprecated-declarations when compiling GNUstep on Mac OS X
10.5 (Leopard) using Apple's GCC. Is this kind of wholesale disabling
of warnings okay, or should this be done on an individual GNUmakefile
level?
Thanks,
Blake
Index: target.make
===================================================================
--- target.make (revision 26339)
+++ target.make (working copy)
@@ -343,6 +343,10 @@
ifeq ($(findstring darwin7, $(GNUSTEP_TARGET_OS)), darwin7)
DYLIB_EXTRA_FLAGS += -Wl,-single_module
endif
+# suppress deprecation warnings on OS X 10.5 (Leopard)
+ifeq ($(findstring darwin9, $(GNUSTEP_TARGET_OS)), darwin9)
+ INTERNAL_OBJCFLAGS += -Wno-deprecated-declarations
+endif
SHARED_LIB_LINK_CMD = \
$(CC) $(SHARED_LD_PREFLAGS) \
- PATCH: suppress deprecation warnings on OS X Leopard,
Blake Nicholson <=
- Fwd: PATCH: suppress deprecation warnings on OS X Leopard, Blake Nicholson, 2008/03/22
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Nicola Pero, 2008/03/24
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Blake Nicholson, 2008/03/24
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Nicola Pero, 2008/03/29
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Blake Nicholson, 2008/03/30
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Nicola Pero, 2008/03/30
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Blake Nicholson, 2008/03/30
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Nicola Pero, 2008/03/30
- Re: PATCH: suppress deprecation warnings on OS X Leopard, Tim McIntosh, 2008/03/30
- Re: PATCH: suppress deprecation warnings on OS X Leopard, David Ayers, 2008/03/30