RE: [xml] Compilation problems


if you need string functions and trio gives you headaches
you should check out
although labeled alpha it's quite stable for my apps
and even features regular-expression support.

-- Alfred Reibenschuh

linux  geek, | Sometimes I hear voices in my head ,  telling me to
perl monger, | do strange things,  but I always wonder  if that's
font monger, |  just me thinking about things I really want to do 
 roleplayer  |        anyway. Why do the voices never say,
& sf-fanatic |          "Your dosage needs adjustment"?
        look @

  Version: 3.12
  GCS/CC(IT) N++ W+++ E--- U++++ P+++ O-- k- w++ d-
  s+:+ a- c++V-- PS++ PE Y+ PGP++ t+++ 5+++ x++
  R++ tv+ b+ DI D++ G e+ h--- r+++ y++**

-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org]On Behalf Of Bjorn
Sent: Tuesday, April 17, 2001 10:34 PM
To: Olivier Dwelshauvers
Cc: xml list
Subject: Re: [xml] Compilation problems

Olivier Dwelshauvers wrote:

Libxml2-2.3.5 is working well, almost out of the box except for the
XPath problem (null division).

Try to insert the following line before the first division by zero in
xpath.c / xmlXPathInit(), and let us know if it works.

  signal(SIGFPE, SIG_IGN);

cc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -c trio.c
-DPIC -o .libs/trio.lo
cc: Error: trio.c, line 2172: In this statement, "0" and "(args)" cannot
be compared for equality or inequality. (noequality)
cc: Error: trio.c, line 2680: In this statement, "0" and "(args)" cannot
be compared for equality or inequality. (noequality)

The immediate solution to your problem is to remove those two lines (and
similar lines, if the compiler continues to complain). They are only
intended for a debug built, and even in a debug built they aren't 

The DECC compiler does not seem to handle assertions correctly. Although
it correctly complains about the "noequality" -- on 64 bits Alpha machines
the va_list is not a pointer to the list as on other platforms, but is
encoded directly into the parameter -- it should not even try to compile
the code unless DEBUG has been defined (if DEBUG is undefined, the trio
sourcecode will automatically define NDEBUG which disables assertions).

However, this is not the first time that the DECC compiler is giving me
these problems. I will look into creating a permanent solutions next week
(the same applies to the trio compilation problems on Windows).

xml mailing list
xml gnome org

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