(no subject)

From: Brandon Kohn (blk@sciencemc.org)
Date: Tue Nov 20 2001 - 19:24:30 MET


Hello all,

I've been mucking around with Root and win32 stuff for a while now, and I've found some curiosities that I would like answered.  For one, it seems that root redefines some functions that exist in standard libraries (ansi, unix, and win32).  For instance, the function StrDup in TString.  I get name conflicts when I try to compile root objects (TH1 for instance) with some codes that already include the function from the standard lib. A cursory inspection of the code StrDup shows that it simply new's a char array, strcpy's the string and returns the ptr to the new array.  Is this different then what the standard lib does?

If not, can it be removed from Root?

Brandon Kohn
+377 97 97 41 50 ext. 306 (Work)
+377 97 77 86 71 (Home)
Monaco



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET