Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
July 09, 2004 Paul Nettle's Memory manager ported to DMC | ||||
---|---|---|---|---|
| ||||
I ported Paul Nettle's Memory Manager to DMC, this is a very useful bit of code. There wasn't much I had to do to port it, just look inside mmgr.cpp http://goanuj.freeshell.org/dmc/ |
July 09, 2004 Re: Paul Nettle's Memory manager ported to DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anuj Goyal | Anuj Goyal wrote:
> I ported Paul Nettle's Memory Manager to DMC, this is a very useful bit of code.
> There wasn't much I had to do to port it, just look inside mmgr.cpp
>
> http://goanuj.freeshell.org/dmc/
Neat variation on a theme, although Gray Watson's dmalloc does a lot more stringent checking and has more debugging features, if the fact that a GNU autoconf-supplied macro that checks for dmalloc isn't enough of an endorsement.
A couple of comments:
a) DMC does understand <iostream>, if you point your include path at STLport.
b) DMC understands "using namespace std;" last time I used it.
|
July 10, 2004 Re: Paul Nettle's Memory manager ported to DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Michel | made a couple corrections to mmgr.cpp: #ifdef __DMC__ > 0x832 && defined(_STL) #include <iostream.h> #else #include <iostream> #endif /* is STLPort being defined as _STL? or some other define... I could not find this documented anywhere */ |
July 10, 2004 Re: Paul Nettle's Memory manager ported to DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anuj Goyal | Haven't time to help you right now, but if you look in stlsoft_iterator.h you'll see how it's done. "Anuj Goyal" <Anuj_member@pathlink.com> wrote in message news:ccnl4m$1h67$1@digitaldaemon.com... > made a couple corrections to mmgr.cpp: > > #ifdef __DMC__ > 0x832 && defined(_STL) > #include <iostream.h> > #else > #include <iostream> > #endif > > /* is STLPort being defined as _STL? or some other define... I could not find this documented anywhere */ > > |
July 11, 2004 Re: Paul Nettle's Memory manager ported to DMC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | ok fixed it. In article <ccoh47$2rdc$1@digitaldaemon.com>, Matthew says... > >Haven't time to help you right now, but if you look in stlsoft_iterator.h you'll see how it's done. > >"Anuj Goyal" <Anuj_member@pathlink.com> wrote in message news:ccnl4m$1h67$1@digitaldaemon.com... >> made a couple corrections to mmgr.cpp: >> >> #ifdef __DMC__ > 0x832 && defined(_STL) >> #include <iostream.h> >> #else >> #include <iostream> >> #endif >> >> /* is STLPort being defined as _STL? or some other define... I could not find this documented anywhere */ >> >> > > |
Copyright © 1999-2021 by the D Language Foundation