Devinim, Thank you for reporting this problem. I fixed this bug in my local version. Sinse I'll be in Felmi-lab next week, the fixed version may not be exposed for a couple of weeks. For your convenience, following is how to fix this in your source. src/var.c line 4291 OLD if(result->type=='u') { FIXED if(('u'==result->type||'i'==result->type) && -1!=result->tagnum) { Masaharu Goto --------------------------------------------------------- Dear CINT users; As following source doesn't work with CINT 5.13.91. Notice: It works with MS C/C++. Your sincerely Devinim SOLEN #include <stdio.h> class CString { public: CString(); CString(CString& string); ~CString(); private: void* m_pString; }; CString::CString() { m_pString = new char[255]; printf("1: new string\t: %lu\nthis\t\t: %lu\n", m_pString, this); } CString::CString(CString& string) { m_pString = new char[255]; printf("2: new string\t: %lu\nthis\t\t: %lu\n", m_pString, this); } CString::~CString() { printf("3: delete string: %lu\nthis\t\t: %lu\n", m_pString, this); delete m_pString; } void Test(CString string) { } void main() { for (int i = 0; i < 3; i++) Test(CString()); }
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:30 MET