Subject: Re: [boost] [repost][multiarray] Bug with boost::detail::multi_array::array_iterator on MSVC 2010RC?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-03-13 20:29:29
On Sat, Mar 13, 2010 at 10:34 AM, Jesse Perla <jesseperla_at_[hidden]> wrote:
> Thomas Klimpel <Thomas.Klimpel <at> synopsys.com> writes:
>> #define _HAS_ITERATOR_DEBUGGING 0
> Works like a charm. Â The only problem is that it looks like I have to compile
> every other library I use with the same definition or the linker gets
> angry. Â I may do that later.
Correct, and yes it does have a huge speed hit. In one specific
project of mine, without putting that it runs in about 12 minutes, if
I put that in then it runs in less then 100ms (or less then 10ms in
release). Whoever was the retard that created those flags needs to
have certain... er... catch my speech right quick...
Conseqently, for a few years now I use this in *everything* I compile,
added to the end of every definition line in Visual Studio:
Or for CMake:
/D_CRT_SECURE_NO_WARNINGS /D_SECURE_SCL=0 /D_SCL_SECURE_NO_DEPRECATE
Or for BJam:
-D_CRT_SECURE_NO_WARNINGS -D_SECURE_SCL=0 -D_SCL_SECURE_NO_DEPRECATE
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk