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: problem with operator new



on 5/3/06 11:06 PM, Christoph Bergmann wrote:

> Sounds like a good idea, but so far I haven't been able to make this work.
> 
> Normally our operators are provided in a dylib.

It worked for us because our operators are in a static library.

> I also tried creating a small static library which contained the out-of-line
> operators, and linking that into the application. Unfortunately this doesn't
> appear to be working either - the linker complains that the symbols in the
> application's unexported_symbols_list are not present (even though 'nm' shows
> them as being exported from the static library.)

This rings a bell.  I think that happened to us on our release builds
because the symbols were being stripped.   I'm not absolutely sure, though,
and the guy who solved these mysteries is on vacation.

Shouldn't two-level namespaces prevent this kind of problem?

-Marc

 _______________________________________________
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: 
 >Re: problem with operator new (From: Christoph Bergmann <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.