Hello,

I'm trying to build Xalan 1.3 using STLPort instead of default STL
library provided by Visual Studio 6 SP5. The STLPort is configured to
use it's own streams, and to be thread safe (only two defines we have,
well, defined :) are __STL_USE_OWN_NAMESPACE and _REENTRANT). Now, by
trial and error I've managed to get it compile and somewhat work... I
added the following to the VCPPDefinitions.hpp:

// STLPort stuff
#define XALAN_NEW_STD_ALLOCATOR
#define XALAN_STLPORT_STL
#define XALAN_SGI_BASED_STL
// STL Port Definitions
#define _STLP_USE_NEWALLOC
#include <stl/_config.h>

The problem I'm having is that when I compile Xalan.exe (console utility
I use for testing my XSLT's from XMLSpy) I get a lot of memory leaks
after each transform. Is there anything else I am overlooking? Is there
anyone that successfully compiled and is using (in production
environment, not for leisure or learning) this combination?

Thanks in advance,

Drazen

Reply via email to