You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Alexander Bartolich (JIRA)" <xe...@xml.apache.org> on 2004/12/29 14:41:05 UTC

[jira] Commented: (XERCESC-1253) Microsoft Visual Studio 2005 Beta1

     [ http://nagoya.apache.org/jira/browse/XERCESC-1253?page=comments#action_57110 ]
     
Alexander Bartolich commented on XERCESC-1253:
----------------------------------------------

Issue still applies to Xerces 2.6.0.
Same changes, same files, only line numbers changed.

> Microsoft Visual Studio 2005 Beta1
> ----------------------------------
>
>          Key: XERCESC-1253
>          URL: http://nagoya.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://nagoya.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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org