Re: unresolved symbol & __nw__....
- From: marty@xxxxxxxxxxxxx (Marty Freitas)
- Date: 27 Jan 2006 02:31:27 -0700
tim.wojtaszek@xxxxxxxxx wrote:
: I have ran into a problem recently with a C++ idiom for keeping classes
: off the heap.
This won't work for aC+ for PA.
: private:
: void* operator new(size_t size);
: void operator delete(void* p){}
You must define these operators. I.e. make them call abort.
: /usr/lib/dld.sl: Unresolved symbol: __nw__5DoStuffClassSFUl (code)
: this __nw__5DoStuffClassSFUI is operator new(), but we are not making
: that call. It appears the compiler is making this call in various
All aC++ constructors have 3 entry points, one does allocation and that
calls operator new.
This has been solved for aCC6 on IPF.
: I'm working on trying to get a simplified case to post, but so far the
: only way i can even get a reference to __nw__DoS.. is to explicitly
: call the operator new().
: tim
You get the reference by calling the constructor when it isn't inlined.
You may want to consider subscribing to CXX-DEV for aC++ questions:
http://h21007.www2.hp.com/dspp/comm/comm_Community_Home_IDX/1,1273,,00.html
.
- Follow-Ups:
- Re: unresolved symbol & __nw__....
- From: tim . wojtaszek
- Re: unresolved symbol & __nw__....
- References:
- unresolved symbol & __nw__....
- From: tim . wojtaszek
- unresolved symbol & __nw__....
- Prev by Date: Re: Swap space/Phys Mem configuration
- Next by Date: Re: modload() fails with ENOREG
- Previous by thread: unresolved symbol & __nw__....
- Next by thread: Re: unresolved symbol & __nw__....
- Index(es):
Relevant Pages
|