
"JOAQUIN LOPEZ MU?Z" wrote:
----- Mensaje original ----- De: Manuel Jung
Fecha: Jueves, Febrero 15, 2007 11:17 pm Asunto: Re: [Boost-users] [multi_index] SIGABRT in multi_index_containerconstructor Para: boost-users@lists.boost.org [...]
yes, the safe mode is on with this code: #if !defined(NDEBUG) #define BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING #define BOOST_MULTI_INDEX_ENABLE_SAFE_MODE #endif
Hey, I had an overlook! The jung.cpp file I sent you only defines the safe mode macro, but you've got to define both this and the invariant checking macro to reproduce the problematic conditions. Could you please add (at line 1) the missing
#define BOOST_MULTI_INDEX_ENABLE_INVARIANT_CHECKING
and check whether you still are crash free? I don't think this overlook will make any difference, but it's better to be on the safe side.
Hi, no difference here. All the same in the test case. It runs just fine. Manuel Jung
Thank you,
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo