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 pabna01 <pa...@ca.com> on 2010/11/21 12:20:17 UTC
unable to use xerces libs with higher version of Visul studio
compiler
Hi,
I got many linker errors when I am trying to use Xerces-c 3.1 libraies in my
application.
I get this errors When I am using either Visual Studio 2005/2008 to build my
application and the Xerces libs are built with VS2003.In this case linker
errors are obtained.
I dont see any linker errors If both application and Xerces are build with
same version of compilers.Only usage of higher versions of compilers for
building my applcation are causing the problem .
Please help me in resolving this issue.
Thanks
Rao
--
View this message in context: http://old.nabble.com/unable-to-use-xerces-libs-with-higher-version-of-Visul-studio-compiler-tp30270825p30270825.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
RE: unable to use xerces libs with higher version of Visul studio compiler
Posted by Scott Cantor <ca...@osu.edu>.
> But usually higher versions of compilers should have the backward
> compatibility with loweset versions.
Not with C++ they don't. The ABI isn't generally stable in many cases, and
even if it were, with Windows, you still can't mix DLL-based runtimes
safely.
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
RE: unable to use xerces libs with higher version of Visul studio
compiler
Posted by pabna01 <pa...@ca.com>.
Thanks Scot.
But usually higher versions of compilers should have the backward
compatibility with loweset versions.Then
Why did I get these errors when I am using XERCES built with lower version
of compilers.
Thanks
Rao
Scott Cantor wrote:
>
>> I dont see any linker errors If both application and Xerces are build
>> with
>> same version of compilers.Only usage of higher versions of compilers for
>> building my applcation are causing the problem .
>
> Because you can't in general mix compiler versions with C++. Or on Windows
> at all for the most part because of mixing C runtime libraries.
>
> -- Scott
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/unable-to-use-xerces-libs-with-higher-version-of-Visul-studio-compiler-tp30270825p30275856.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org
RE: unable to use xerces libs with higher version of Visul studio compiler
Posted by Scott Cantor <ca...@osu.edu>.
> I dont see any linker errors If both application and Xerces are build with
> same version of compilers.Only usage of higher versions of compilers for
> building my applcation are causing the problem .
Because you can't in general mix compiler versions with C++. Or on Windows
at all for the most part because of mixing C runtime libraries.
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org