Boost logo

Boost Users :

Subject: [Boost-users] [chrono] Issues with _ITERATOR_DEBUG_LEVEL
From: Christian Henning (chhenning_at_[hidden])
Date: 2012-08-09 22:15:01


Hi there, compiling with the latest trunk version gives me the
following linker error with the chrono lib:

libboost_chrono-vc100-mt-1_51.lib(chrono.obj) : error LNK2038:
mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match
value '2' in Factory.obj

Usually the solution is to recompile the lib with
_ITERATOR_DEBUG_LEVEL=2 but the problem preservers. Can someone tell
what wrong with compiling boost with:

bjam -j8 --toolset=msvc --without-mpi variant=debug link=static
runtime-link=shared define=_CRT_NONSTDC_NO_DEPRECATE
define=_CRT_SECURE_NO_DEPRECATE define=_SCL_SECURE_NO_DEPRECATE
define="_ITERATOR_DEBUG_LEVEL=2" stage

I mean, is the define="_ITERATOR_DEBUG_LEVEL=2" syntactically correct?

Thanks,
Christian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net