Hi,
 
   you have backslashes at line 41 and others.
You don't need them unless you write a macro.
I would use "std::string" instead of just "string".
You get a memory leak. Try instead:
 
-----------------------------------------------------------------------------------
char* transcoded = XMLString::transcode( fromXMLCh );
 
std::string myStr = transcoded;
 
...
 
delete [] transcoded;
-----------------------------------------------------------------------------------
 

 --

  Radovan Chytracek                  CERN Division IT/API, Geant4
  e-mail: [EMAIL PROTECTED]  WWW: http://cern.ch/chytrace
  phone:  +41 22 76 78871

-----Original Message-----
From: suresh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 03 October 2001 12:10
To: [EMAIL PROTECTED]
Subject: Fw: internal compiler error

Hi All,
 
I tried using stl map with xerces it throws up an
C:\XmlParser\XmlFunctionHandler.cpp(47) : fatal error C1001: INTERNAL COMPILER ERROR.
 
The environment is
Operating system : Win2k
Dev. Tool : VC++ 6.0 with SP5 with Xerces 1.5
 
I have attached the files for you to have a look at.
 
Has anyone faced this problem befor? Please help me out.
 
Thanks in advance,
Suresh
 

Reply via email to