Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-virtual thunk on optimized builds?



Are you sure that the non-optimized build isn't using ZeroLink? If that is the case, there's no static linking occuring, which is why no error is being produced. To check with this, edit your Development build style and uncheck "ZeroLink"

Shantonu

On May 3, 2004, at 12:23 PM, email@hidden wrote:

Is there a suggested work-around, for example something that could be added to the code?

Alternately, I could build the offending class as non-optimized to fix things, or would everything that includes it need to be non-optimized as well?

Greg

Matt Austern wrote:

On May 3, 2004, at 11:33 AM, email@hidden wrote:

In building one of the .dylibs for the application I'm porting I'm getting this error:

undefined symbols:
non-virtual thunk [nv:-404] to RenderElementOsg::EntityRootReady()

This is one of a very few classes that use multiple inheritance, this error DOES NOT show up on a non-optimized build of the code, only on optimized (-O3 in this case)

Not really sure what the error means, can anyone provide some explanation?


It's a known compiler bug.

--Matt
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Non-virtual thunk on optimized builds? (From: email@hidden)
 >Re: Non-virtual thunk on optimized builds? (From: Matt Austern <email@hidden>)
 >Re: Non-virtual thunk on optimized builds? (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.