[Bf-committers] MEM_CacheLimiter breaks msvc6 compile unrepairable - *Ping*

Peter Schlaile peter at schlaile.de
Thu Feb 9 10:43:15 CET 2006


Hi Simon,

> Regarding the STL errors, would STLport (www.stlport.org) help here?

No. It is a problem with the MSVC-6 compiler supporting allocators
correctly.

> If necessary, this could become an official requirement as it provides a
> cross-platform STL implementation. Alternatively, (and perhaps
> preferably) couldn't our classes be rewritten to remove these allocator
> problems? Peter, any ideas?

Interesting. The allocator is needed to use the guardedalloc of blender on
stl-containers. This was requested by Ton since he did not want to have
STL memory management mixed with Blender's internal allocator.
There were two ways to accomplish this: write my own list class (yiieeks)
or add an allocator (nice way).

What bugs me: I do not understand why MSVC-6 does not like my code.
I don't use rebind. But see thread below.

Greetings,
Peter





More information about the Bf-committers mailing list