ZeroLink has wrong symbol?
ZeroLink has wrong symbol?
- Subject: ZeroLink has wrong symbol?
- From: Andy Wiese <email@hidden>
- Date: Thu, 4 Nov 2004 00:59:03 -0600
Someone please tell me that I'm a big dufus and I've missed something
obvious, NOT that I've found a bug in ZeroLink?
I am wondering if ZeroLink might be misdefining the symbol name for
~basic_ostream<char>.
With ZeroLink off (after I clean the target), I can build and debug
this test app just fine.
With ZeroLink I get this error when I try to debug:
ZeroLink: unknown symbol '__ZTv0_n12_NSoD0Ev'
#include <iostream>
typedef char myCharT;
// an empty streambuf
class mystreambuf : public std::basic_streambuf<myCharT> {
public:
mystreambuf() { } // just to access protected ctor of basic_streambuf
};
// do-nothing ostream subclass
class myostream : public std::basic_ostream<myCharT> {
public:
myostream(mystreambuf* buf) : std::basic_ostream<myCharT>(buf) { }
};
int main (int argc, char * const argv[]) {
mystreambuf sbuf;
myostream myOut(&sbuf); // this fails with ZeroLink (for char)
std::basic_ostream<myCharT> basicOut(&sbuf); // this is fine with
ZeroLink (for char)
std::cout << "Hello, World!\n";
return 0;
}
CLUES:
c++filt __ZTv0_n12_NSoD0Ev just echos back the manged string--I assume
that means it is undefined.
However, c++filt _ZTv0_n12_NSoD0Ev (one less '_' ) returns:
virtual thunk to std::basic_ostream<char, std::char_traits<char>
>::~basic_ostream()
If I comment out 'myostream myOut(&sbuf);', ZeroLink is just fine,
ie. it has no problem with the direct basic_ostream construction.
When myCharT is unsigned char, short, or long, I can build and debug
with ZeroLink just fine! It is only char that seems to cause this
problem.
Could it be that ZeroLink caches the wrong symbol name for
~basic_ostream<char>?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden