Hi Brett, On Mon, 20 Aug 2001 12:50:42 -0400 Brett Viren <bv@bnl.gov> wrote concerning "[ROOT] rootcint + pair + nexted class.": > Hi, > > I am having problem getting rootcint to run on a class which has a > nested class and which uses pair<>. I have excerpted code which > reproduces the problem and it is appended. Also appended is the > errors from running: > > rootcint -f PairClassCint.cc -c PairClass.h PairClassLinkdef.h I don't know if this has anything to do with it, but I reported http://root.cern.ch/root/roottalk/roottalk01/1561.html some time ago a problem with using nested class in conjunction with the dictionary generator. It could be worth a try. The hack explained in the above message can also support nested classes in nested classes. But see also the thread starting at http://root.cern.ch/root/roottalk/roottalk01/1853.html for some extra considerations on using nested classes. > Compiling PairClass.{h,cxx} with g++ 2.95.4 (Debian GNU/Linux x86) You really like to live dangerous don't you? I guess you're running unstable, right? Brave you. BTW, how does it compare to potato? > succeeds, so I don't think I am doing illegal C++. This is with ROOT > CVS as of today. Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:58 MET