[ http://issues.apache.org/jira/browse/XERCESC-413?page=history ]
Alberto Massari resolved XERCESC-413:
-------------------------------------
Assign To: (was: Xerces-C Developers Mailing List)
Resolution: Fixed
Fix is in CVS. Please verify.
Alberto
> XMLCh typedef should be conditional under MSVC 7
> ------------------------------------------------
>
> Key: XERCESC-413
> URL: http://issues.apache.org/jira/browse/XERCESC-413
> Project: Xerces-C++
> Type: Bug
> Components: Miscellaneous
> Versions: 1.7.0
> Environment: Operating System: Windows NT/2K
> Platform: PC
> Reporter: Jesse Pelton
>
> Some time back, Tom Walpole made the following observation (in
> http://marc.theaimsgroup.com/?l=xerces-c-dev&m=101422550027878&w=2):
> VC7 will treat wchar_t as a seperate type if the compile switch 'Zc:wchar_t'
> is used. It also defines the symbol _WCHAR_T_DEFINED if the switch is used.
> He also suggested changing the XMLCh typedef in VCPPDEFS.CPP from:
> typedef wchar_t XMLCh;
> to
> #ifdef _WCHAR_T_DEFINED
> typedef wchar_t XMLCh;
> #else
> typedef unsigned short XMLCh;
> #endif
> David Bertoni seconded the notion, and it makes sense to me. Lest it be
> forgotten, here's a bug report.
--
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]