Posted by
Kakhkhor Abdijalilov on
URL: http://quantlib.414.s1.nabble.com/Null-class-bug-on-x64-targets-tp9091p9099.html
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.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev