From: Sebastian Bergmann

> > My problem gets already fixed by building Release_TS_Inline instead of
> > Debug_TS.
>
>   The attached patch fixes the problem for me.

Just spent this morning looking at the issue to find the root of it all.
libxml is built with msvcrt so when compiled statically in debug, there is a
conflict with msvcrt and msvcrtd, which then ends up really screwing up the
fopen call. Either under debug, the project can be built loading libxml as a
dll or the project must be set to ignore the msvcrt lib and adding
LIBXML_STATIC to the preprocessor. Both work so it all depends upon wether
there you want consistancy between the builds (statically linked libxml) or
it doesnt matter.

One thing when linking statically is that any extensions that use libxml
dynamically, such as xsl, will cause an heap assertion issue under debug
when loaded. MS VC issue with how it uses heaps under debug.

I didnt run into this issue as I was libxml as a dll under debug so that I
could debug the xsl extension as well.

Rob

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to