gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: suppress deprecation warnings on OS X Leopard


From: Nicola Pero
Subject: Re: PATCH: suppress deprecation warnings on OS X Leopard
Date: Sun, 30 Mar 2008 21:21:57 +0100


The right fix still seems to be to update the Apple runtime code in gnustep-base to work with the new runtime if available, but in the meanwhile if we add the -Wno-deprecated flag, we should probably add it inside gnustep-base so that when support for the new runtime is available, we
can remove it in sync. :-)


Agreed. Please note that the option to set is -Wno-deprecated- declarations, not -Wno-deprecated. The latter is specific to C++.

OK - thanks :-)


The one question I have for you is will base.make be included when compiling something else, such as GDL2?

Yes :-)


BTW, it appears that clean_os.sh is a bit out of date (it only goes up through darwin7). Here's a patch that won't require each version of darwin to be listed separately. When the os is like darwin*, it strips everything from the first '.' on. This does introduce a dependency on sed, but my assumption is that any platform that has sh and can run this script will have sed. Do you agree?

Yes, I agree that we can assume that sed is available ... It's an excellent patch, and I applied it. :-)

Thanks

PS: I made a tiny change to the patch due to my performance paranoia - won't make (almost) any difference.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]