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: __attribute__((visibility("default")) operator new



On Jan 22, 2006, at 1:21 PM, Howard Hinnant wrote:

You can list a file such as unexported.exp in your "Unexported Symbols File". That file should contain:

__Znwm
__Znwm.eh
__ZdlPv
__ZdlPv.eh

Oh, I should've included: the above is only operator new(size_t) and operator delete(void*). You'll need such symbols for each variant you overload (array, nothrow forms). You can get the mangled symbol names by using nm -m on your binary (and maybe comparing that to the output piped through c++filt to unmangle the names).


-Howard


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >__attribute__((visibility("default")) operator new (From: Paul Carnine <email@hidden>)
 >Re: __attribute__((visibility("default")) operator new (From: Howard Hinnant <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.