This is the mail archive of the
mailing list for the GCC project.
Re: Non-virtual thunk link error
- From: Ian Lance Taylor <iant at google dot com>
- To: "Matthew Allen" <fret at memecode dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Fri, 09 Apr 2010 07:56:08 -0700
- Subject: Re: Non-virtual thunk link error
- References: <AQ94I2.5818693021Z7SCM@memecode.com>
"Matthew Allen" <firstname.lastname@example.org> writes:
> I'm working on the Mac 10.5 platform with gcc:
> --versioni686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)
> Using XCode to compile my works fine in Development mode, but when I switch to Deployment I start getting these non-virtual thunk errors. I've set up a stack overflow question that details the issue:
> But so far no one has been able to suggest anything useful to try and solve the error. As far as I can tell the options between the Developement and Deployment modes in XCode are as similar as I can get them. So I'm out of options to tweak.
> Whats the root cause of this error? And why does it compile/run in Developement? Because if there was an issue in the code itself wouldn't it break in both modes?
Can you show us a small test case?