
31 Jan
2007
31 Jan
'07
7:22 p.m.
Hi, I don't exactly reproduce your problem (my program just crashes in release mode) but I've found something tricky in my code: -> If we use raw pointer instead of offset_ptr there is no problem. -> If I make offset_ptr::set_offset function non-inline (taking it out of the class definition) my problem goes away. I suspect that function inlining in VC8 is hurting something. Can you try to make offset_ptr::sey_offset non-inline and report your results? I will try to guess if that's the only problem. Regards, Ion