Problem with TString and ROOT 4.04/02

Greetings,

when compiling my ROOT classes with the latest development version (4.04/02) and MSVC6 under Windows, I get the following errors on every file that includes TString.h:

c:\root_dev\include\tstring.h(408) : error C2039: ‘atoi’ : is not a member of 'std’
c:\root_dev\include\tstring.h(411) : error C2039: ‘atof’ : is not a member of ‘std’

It didn’t happen with ROOT 4.03/04. I have yet to try this on UNIX platforms.
Am I doing something wrong (such as not purging some kind of old file) ?

Thanks for your help.

In the meantime, I followed the advice a collaborator gave me:
I have commented out the declarations of Atoi and Atof in TString.h.

Of course, this modification prevents the use of these methods. But it allows my classes to compile.

have a look at
root.cern.ch/root/roottalk/roottalk05/1046.html

Now this explains everything. Thanks. :wink: