Re: [xml] DEBUG_MEMORY_LOCATION problem



On Tue, Jan 22, 2002 at 02:06:54PM +0100, Wessel wrote:
In order to solve this problem I tried to change the #include sequence.
But putting xmlmemory.h first doesn't work: globals.h will overrule it
at a later time.  Putting it last doesn't work, because it is included
from other headers, still before globals.h.

  Hum, thanks for the research feedback.

Possible fixes seem to be:
 - removing the #undef's from globals.h (what are they for?)

     difficult. The undefs are used to remap the access to global
  variables to functions, which is needed when running with threading.

 - make xmlmemory.h include globals.h

    probably the best !

Are these sane ideas?

    possibly but they need experimentation and tuning.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]