|
From: | Nicola Pero |
Subject: | Re: PATCH: suppress deprecation warnings on OS X Leopard |
Date: | Mon, 24 Mar 2008 11:47:42 +0000 |
Hi BlakeSorry for not answering before - I don't have Leopard, so I don't really know what warnings you are trying to suppress. ;-)
Can you send us the output of 'make messages=yes' on Mac OS X that shows the warnings you are wanting to suppress ?
Thanks On 22 Mar 2008, at 14:45, Blake Nicholson wrote:
I sent this a few days back and haven't heard anything so I thought I'd try again. I'm not sure if I haven't heard anything because few people are running Leopard, this isn't a patch people think should be applied, or if everyone is simply busy with other things.Whatever the case may be, if anyone can spare a few minutes to consider this patch, I'd appreciate it. Two specific questions I have are:1) Is target.make an okay place to put this or should individual GNUstep sub-projects make their own decision on whether to add this to their relevant makefiles? 2) Is INTERNAL_OBJCFLAGS the correct variable to which this compiler setting should be added?Thanks, Blake Begin forwarded message:From: Blake Nicholson <address@hidden> Date: March 18, 2008 4:00:28 PM GMT-04:00 To: address@hidden Subject: PATCH: suppress deprecation warnings on OS X LeopardThe 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) \ _______________________________________________ Gnustep-dev mailing list address@hidden http://lists.gnu.org/mailman/listinfo/gnustep-dev_______________________________________________ Gnustep-dev mailing list address@hidden http://lists.gnu.org/mailman/listinfo/gnustep-dev
[Prev in Thread] | Current Thread | [Next in Thread] |