[ http://issues.apache.org/jira/browse/XERCESC-1253?page=history ]
     
Alberto Massari resolved XERCESC-1253:
--------------------------------------

    Resolution: Fixed

Fix is in CVS. Please verify.

Alberto

> Microsoft Visual Studio 2005 Beta1
> ----------------------------------
>
>          Key: XERCESC-1253
>          URL: http://issues.apache.org/jira/browse/XERCESC-1253
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: Nightly build (please specify the date)
>  Environment: Windows 2003 Server
> Microsoft Visual Studio 2005 Beta1
> cl reports version 14.00.40607.16
>     Reporter: Alexander Bartolich
>     Priority: Trivial

>
> Retrieved sources from CVS on 2004-08-12.
> Solution file converts without problems.
> Had to change three lines for succesful build.
> Index: src/xercesc/com/NodeContainerImpl.h
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/c/src/xercesc/com/NodeContainerImpl.h,v
> retrieving revision 1.2
> diff -b -u -r1.2 NodeContainerImpl.h
> --- src/xercesc/com/NodeContainerImpl.h       25 Feb 2004 18:38:33 -0000      
> 1.2
> +++ src/xercesc/com/NodeContainerImpl.h       12 Aug 2004 10:41:02 -0000
> @@ -156,6 +156,8 @@
>               VARIANT                  m_NextVar;
>       };
>  
> +     typedef iterator const_iterator;
> +
>       NodeContainerImpl()
>               :m_NextNodeIndex(0)
>               ,m_pIXMLDOMDocument(NULL)
> Index: src/xercesc/com/XMLDOMDocument.cpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/c/src/xercesc/com/XMLDOMDocument.cpp,v
> retrieving revision 1.7
> diff -b -u -r1.7 XMLDOMDocument.cpp
> --- src/xercesc/com/XMLDOMDocument.cpp        2 Mar 2004 17:35:46 -0000       
> 1.7
> +++ src/xercesc/com/XMLDOMDocument.cpp        12 Aug 2004 10:41:03 -0000
> @@ -967,10 +967,10 @@
>                       _bstr_t baseURL;
>                       if (S_OK == GetBaseURL(baseURL)) {
>                               // change any backslashes to slashes
> -                             LPTSTR loc = _tcschr(m_FileName,_T('\\'));
> +                             LPTSTR loc = _tcschr((char*)m_FileName, 
> _T('\\'));
>                               while (loc != NULL) {
>                                       *loc = _T('/');
> -                                     loc = _tcschr(m_FileName,_T('\\'));
> +                                     loc = _tcschr((char*)m_FileName, 
> _T('\\'));
>                               }
>                               m_FileName = baseURL + _T("/") + m_FileName;
>                       }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to