Hi Robert,
this is caused by the /Zwchar_t option that VS 2005 now sets by default ("treat wchar_t as a built-in type"). You can choose to unset that option in the makefile or fix the code by adding a couple of casts to "unsigned short" when the fAxisType is serialized and deserialized (take a look at the version under CVS/SVN to see how we did it)

Alberto

At 17.58 14/06/2005 -0700, Robert Paulson wrote:
Hi,

Is there anyone out there that has successfully compiled Xercesc with
Visual Studio 2005 beta 2?

I am getting this error message:
Error   1       error C2679: binary '>>' : no operator found which takes a
right-hand operand of type 'unsigned short' (or there is no acceptable
conversion) XercesXPath.cpp

line 262

basically this line:
       serEng>>fAxisType;

I am trying to compile xerces 2.6 as a static library, which I managed
to do with Visual Studio 2003.


regards,
Bob

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



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

Reply via email to