|
From: Kakhkhor A. <kab...@gm...> - 2010-08-18 01:01:18
|
Some more ICC for Windows related issues showed up 1) BOOST_MSVC is not defined on IA-32, which prevents auto linking. Including auto_link.hpp directly works. 2) The second issue is not caused directly by QuantLib, but it is good to know about it. Bjam compiles boost with _SECULRE_SCL=0 when ICC is used. But Visual Studio's STL uses _SECULRE_SCL=1 by default and ICC relies on Visual Studio's implementation. QuantLib itself doesn't use any compiled boost libraries, but the test suite links to boost unit test framework, which is a compiled library. Inconsistent _SECULRE_SCL values violate one definition rule and cause the test suite to fail or even crash. To fix this issue one needs to recompile all libraries using the same _SECULRE_SCL value. Regards, K.A. |