[Bf-committers] Re: Booleans crash with MSVC8.0

Shaul Kedem shaul.kedem at gmail.com
Tue May 16 12:41:04 CEST 2006

Maybe a wrapper class is called for ?

On 5/16/06, Austin Benesh <bfdeveloper at gmail.com> wrote:
> Austin Benesh wrote:
> > I submitted this to the bugtracker first, but Ton told me to submit it
> > here instead. Anyway, I found that booleans work with almost all other
> > builds except those built with MSVC8.0. After extensive debugging I
> > found that the function vertex_it.Done() was constantly returning 1,
> > no matter what the iterator input was. I am a little confused because
> > this kind of error should cause a crash on all systems. How come it
> > doesn't seem to cause problems with any other build? Any help would be
> > great.
> >
> >  - Austin
> Ha! I solved my own problem. The problem lay with the stupid
> vector::iterator stuff. It was trying to dereference an empty iterator,
> so I fixed it and am uploading the patch to the tracker. One statement I
> would like to make, though: those of you who are using std::vector in
> your code, please debug it first before submitting it as final. A lot of
> bugs in this template class go unnoticed until whiney compilers (like
> MSVC 8.0) throw a fit over the smallest minute detail. Thank you.
> - Austin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20060516/003f89e9/attachment.htm

More information about the Bf-committers mailing list