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 "Borivoj Kostka (JIRA)" <xe...@xml.apache.org> on 2013/12/16 12:06:07 UTC
[jira] [Commented] (XERCESC-2011) Xerces 3.1.1 Xerces.Lib fails to
build with new Visual Studio 2012 Update 1 when v110_xp platform is chosen
[ https://issues.apache.org/jira/browse/XERCESC-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849035#comment-13849035 ]
Borivoj Kostka commented on XERCESC-2011:
-----------------------------------------
I had the same problem. It seems replacing #include "winnt.h" with #include "windows.h" in xercesc\util\MsgLoaders\Win32\Version.rc solves the problem
> Xerces 3.1.1 Xerces.Lib fails to build with new Visual Studio 2012 Update 1 when v110_xp platform is chosen
> -----------------------------------------------------------------------------------------------------------
>
> Key: XERCESC-2011
> URL: https://issues.apache.org/jira/browse/XERCESC-2011
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.1.1
> Environment: VS2012 Update 1, platform set to V110_xp (introduced by Update 1) instead of the pre-update V110.
> Windows 32-bit builds.
> Reporter: DK
> Assignee: Alberto Massari
> Fix For: 3.2.0
>
>
> Same issue as defined in: http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/ea289832-c48c-475b-a922-bf94d2ee54e4/
> Static Debug & Static Release compile without issue. Normal Debug and Release both have this issue. Not tested 64-bit builds.
> Compilation output has:
> 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(57): warning RC4011: identifier truncated to '_CRT_SECURE_CPP_OVERLOAD_STANDA'
> 1>
> 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(79): warning RC4011: identifier truncated to '_CRT_SECURE_CPP_OVERLOAD_SECURE'
> 1>
> 1>C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h(115): fatal error RC10056:
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org