This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] prune warn_compact_unwind warnings on darwin
On Fri, Mar 18, 2011 at 11:22:11PM -0700, Mike Stump wrote:
> On Mar 12, 2011, at 1:01 PM, Jack Howarth wrote:
> > Xcode 4.0's linker now defaults on...
> >
> > -warn_compact_unwind
>
> So, if this is a flag, and we can turn the warning off, and we truly don't care about the warnings, why not just use -no_warn_compact_unwind? That would be preferable, I think.
Mike,
Unfortunately, there is no such -no_warn_compact_unwind flag in the Xcode 3.2.6/4.0 linkers. Since the
-warn_compact_unwind option in the past was set as a default-in option, Apple never bothered to add a flag to
turn it off and forgot to do so (or even to document the fact that the flag was defaulted on now for the
new Xcode releases).
Jack