[ROOT] RE:Namespace problem (again) (fwd)

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Wed May 10 2000 - 15:40:55 MEST


Dear Alexander Frink,

Thank you for reporting this. This is a cint bug which I'll fix in
cint5.14.38. Meanwhile, you can patch cint source as follows. In src/ifunc.c
around line 4590, please add what is surrounded by 
#ifndef G__OLDIMPLEMENTATION1307


  else {
    access = G__PUBLIC;
    isbase=0;
#ifndef G__OLDIMPLEMENTATION1307
    if (p_ifunc && p_ifunc == G__p_ifunc) {
      basen=0;
      isbase = 1;
      baseclass = &G__globalusingnamespace;
    }
#endif
  }
 next_base:

Masaharu Goto


>
>Dear Masaharu Goto,
>
>some time ago you wrote Richy Kreckel the following about 
>using namespaces in Cint:
>
>> You need to use following pragma at the end of your header file 
>> to precompile namespace.
>>
>>   #ifdef __MAKECINT__
>>   #pragma link C++ nestedclass;
>>   #pragma link C++ nestedtypedef;
>>   #endif
>>
>> Please refer to doc/ref.txt
>
>This helps to use classes defined inside namespaces, but I still
>cannot use ordinary functions:
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET