Problem with std::atoi std::atof with root4.04.02 under win2K

From: ANCIANT E. <eric.anciant_at_sodern.fr>
Date: Tue, 10 May 2005 10:17:27 +0200

Hello ROOTERS,

I just installed ROOT 4.04.02 win32 GDK this morning on WIN2K with VC6 (Things were perflectly working with root 4.03.04)

when trying to compile I got the following error :

p:\ROOT\ROOT_4.04.02.win32gdk\include\TString.h(408) : error C2039:
'atoi' : is not a member of 'std'

p:\ROOT\ROOT_4.04.02.win32gdk\include\TString.h(411) : error C2039:
'atof' : is not a member of 'std'

Switching back to 4.03.04 things work fine ...

Commenting the two lines in TString.h works also : /*
inline Int_t TString::Atoi()
{ return std::atoi(fData); }

inline Double_t TString::Atof()
{ return std::atof(fData); }
*/

Though I think this is not the optimal solution...

eric



Ce message et eventuellement les pieces jointes sont exclusivement transmis a l'usage de leur destinataire. Leur contenu est confidentiel. Si vous n etes pas le bon destinataire nous vous demandons de ne pas conserver, copier, utiliser ou divulguer cette communication. Merci de le detruire et de me notifier cette erreur.

INTERNET ne permettant pas d assurer l integrite de ce message, SODERN decline toute responsabilite au cas ou il aurait ete intercepte ou modifie.

This message and possibly any attachments are transmitted for the exclusive use of their addressee. Their content is confidential. If you are not the intended recipient please do not keep, copy, use or disclose this communication to others. Also Please delete it and notify the sender at once.

Because of the nature of INTERNET the sender is not in a position to ensure the integrity of this message, therefore SODERN disclaims any liability whatsoever in the event of this message having been intercepted and/or altered. Received on Tue May 10 2005 - 10:17:11 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET