[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-c-users
Subject: RE: problem with the samples
From: Samar Abbas Lotia <slotia () nQuire ! com>
Date: 2001-11-20 19:20:07
[Download RAW message or body]
There is XALAN_NO_STD_ALLOCATORS in the compiler configuration files. For
example, in Include/VCPPDefinitions.hpp define this flag to disable use of
the STL allocators inside of Xalan.
Samar
-----Original Message-----
From: Guillaume Léonard [mailto:gleonard@eurekium.net]
Sent: Tuesday, November 20, 2001 13:11
To: Xalan-C-Users
Subject: RE: problem with the samples
what flag are you talking about. There are three flags about allocators in
stlport
_STLP_USE_RAW_SGI_ALLOCATORS
_STLP_USE_MALLOC
_STLP_USE_NEWALLOC
which one is the right one
thanks for your fast answer.
/.. Guillaume
P.S. there seems to be a problem with the reply-to in this distribution list
-----Original Message-----
From: Samar Abbas Lotia [mailto:slotia@nQuire.com]
Sent: Tuesday, November 20, 2001 1:48 PM
To: 'Guillaume Léonard'
Subject: RE: problem with the samples
I had problems trying to use STLport 4.0 with the STD allocators, so I
toggled the flag and setup my build not to use the STD allocators. This
seemed to make my problems go away.
Having said that, I am using a seriously tweaked distribution of STLport
4.0. It's not out of the box.
One of the Xalan developers had indicated to me that there isn't a problem
with the standard STLport 4.0 distro.
Also, I have been using Xalan 1.2 on solaris with STLport 4.5, albeit with
Xerces 1.5.1 and in this case also STD allocators have been turned off.
Samar Lotia
-----Original Message-----
From: Guillaume Léonard [ mailto:gleonard@eurekium.net
<mailto:gleonard@eurekium.net> ]
Sent: Tuesday, November 20, 2001 12:44
To: Xalan-C-Users
Subject: problem with the samples
I am using
- Xalan 1.2 on windows (MSVC6.0 sp5)
- Xerces 1.5.2
- stlport 4.5
When I try to run the sample CompileStylesheet (or XalanTransform, etc), I
get an access violation in _alloc.c (line 181) of stlport.
The sample works fine if I use the stl distributed with msdev.
Is there a known compatibility problem between Xalan 1.2 and StlPort 4.5?
thanks
/..Guillaume
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: problem with the samples</TITLE>
<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=411561819-20112001>There
is XALAN_NO_STD_ALLOCATORS in the compiler configuration files. For example, in
Include/VCPPDefinitions.hpp define this flag to disable use of the STL
allocators inside of Xalan.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=411561819-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=411561819-20112001>Samar</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Guillaume Léonard
[mailto:gleonard@eurekium.net]<BR><B>Sent:</B> Tuesday, November 20, 2001
13:11<BR><B>To:</B> Xalan-C-Users<BR><B>Subject:</B> RE: problem with the
samples<BR><BR></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=359220619-20112001>what
flag are you talking about. There are three flags about allocators in
stlport</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001><FONT face="Arial, Helvetica"
size=1><B>_STLP_USE_RAW_SGI_ALLOCATORS </B></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=1><SPAN
class=359220619-20112001><STRONG><FONT face="Arial, Helvetica"
size=1><B>_STLP_USE_MALLOC </B></FONT></STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=1><SPAN
class=359220619-20112001><STRONG><FONT face="Arial, Helvetica"
size=1><B>_STLP_USE_NEWALLOC </B></FONT></STRONG></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001> which one is the right one</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001>thanks for your fast answer.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=359220619-20112001>/..
Guillaume</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=359220619-20112001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=359220619-20112001>P.S.
there seems to be a problem with the reply-to in this distribution
list</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Samar Abbas Lotia
[mailto:slotia@nQuire.com]<BR><B>Sent:</B> Tuesday, November 20, 2001 1:48
PM<BR><B>To:</B> 'Guillaume Léonard'<BR><B>Subject:</B> RE: problem with the
samples<BR><BR></DIV></FONT>
<P><FONT size=2>I had problems trying to use STLport 4.0 with the STD
allocators, so I toggled the flag and setup my build not to use the STD
allocators. This seemed to make my problems go away.</FONT></P>
<P><FONT size=2>Having said that, I am using a seriously tweaked
distribution of STLport 4.0. It's not out of the box.</FONT> </P>
<P><FONT size=2>One of the Xalan developers had indicated to me that there
isn't a problem with the standard STLport 4.0 distro.</FONT> </P>
<P><FONT size=2>Also, I have been using Xalan 1.2 on solaris with STLport
4.5, albeit with Xerces 1.5.1 and in this case also STD allocators have been
turned off.</FONT></P>
<P><FONT size=2>Samar Lotia</FONT> </P>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From:
Guillaume Léonard [<A
href="mailto:gleonard@eurekium.net">mailto:gleonard@eurekium.net</A>]</FONT>
<BR><FONT size=2>Sent: Tuesday, November 20, 2001 12:44</FONT> <BR><FONT
size=2>To: Xalan-C-Users</FONT> <BR><FONT size=2>Subject: problem with the
samples</FONT> </P><BR>
<P><FONT size=2>I am using</FONT> <BR><FONT size=2>- Xalan 1.2 on windows
(MSVC6.0 sp5)</FONT> <BR><FONT size=2>- Xerces 1.5.2</FONT> <BR><FONT
size=2>- stlport 4.5</FONT> </P>
<P><FONT size=2>When I try to run the sample CompileStylesheet (or
XalanTransform, etc), I</FONT> <BR><FONT size=2>get an access violation in
_alloc.c (line 181) of stlport.</FONT> </P>
<P><FONT size=2>The sample works fine if I use the stl distributed with
msdev.</FONT> </P>
<P><FONT size=2>Is there a known compatibility problem between Xalan 1.2 and
StlPort 4.5?</FONT> </P>
<P><FONT size=2>thanks</FONT> </P>
<P><FONT size=2>/..Guillaume</FONT> </P></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic