Re: No deprecation warnings
Re: No deprecation warnings
- Subject: Re: No deprecation warnings
- From: Greg Guerin <email@hidden>
- Date: Tue, 1 Sep 2009 11:33:24 -0700
David Dunham wrote:
One of my projects gives deprecation warnings. Another doesn't. I
don't see anything different in the build settings -- the quiet
target shows "Warn About Deprecated Functions" checked.
Comparing the build log texts, the one that doesn't show deprecation
warnings has several different options enabled:. -fpermissive, -Wnon-
virtual-dtor, -Weffc++, etc.
I spotted these by manually pasting the two outputs into two text-
editing windows, replacing every space with a newline, then visually
comparing the two columnar window. The first difference appears
after the -O0 (dash-Oh-zero) option.
There's likely a command-line sequence of 'tr', 'sort', and 'diff'
that can automate this, in order to find all the specific differences
so you can locate them in your build settings.
Next step is searching the build settings, and toggling each
differing option to find which one has the side-effect of disabling
deprecations (man gcc is mute on this).
Or maybe invert one of the no-deprecation options (e.g. -Wdeprecated-
declarations) to re-enable the deprecations.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden