Does anyone know if linking against CppUnit binaries compiled with one version of MSVC (say 9.0, i.e. 2008) would work with code build with a later version of MSVC (say 11.0, i.e. 2012)?
I know that it boils down to ABI safety, and that it is probably best to just recompile the CppUnit binaries, but I was curious if anyone has experimented with this already, or if someone knows a good reason why it wouldn't work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Does anyone know if linking against CppUnit binaries compiled with one
version of MSVC (say 9.0, i.e. 2008) would work with code build with a
later version of MSVC (say 11.0, i.e. 2012)?
I know that it boils down to ABI safety, and that it is probably best to
just recompile the CppUnit binaries, but I was curious if anyone has
experimented with this already, or if someone knows a good reason why it
wouldn't work.
Does anyone know if linking against CppUnit binaries compiled with one version of MSVC (say 9.0, i.e. 2008) would work with code build with a later version of MSVC (say 11.0, i.e. 2012)?
I know that it boils down to ABI safety, and that it is probably best to just recompile the CppUnit binaries, but I was curious if anyone has experimented with this already, or if someone knows a good reason why it wouldn't work.
Given that CppUnit exposes STL in its API/header (such as std::string), and
VS 2008/2012 STL are very different, it is unlikely that this could work.
Baptiste.
2013/7/12 Michael Price michaelpricepsi@users.sf.net
Yeah, I was afraid that would be the case. Thanks!