libxml on OpenVMS (was RE: [xml] Release of libxml2-2.5.7)



At 10:47 AM +0100 4/25/03, Mark.Itzcovitz wrote:

Talking of OpenVMS, has anyone considered building libxml2 on it by using
amended versions of the make files with GNU make? So far I've only used
libxml2 on Windows; I haven't even looked at building it on Solaris or
OpenVMS yet, so I may be talking rubbish.

It might be nice to figure out how to use the same build
infrastructure everyone else does, but in the meantime you can use
the [.vms]build_libxml.com procedure.  I haven't updated it since
last fall, and I see it needs some work.  The build procedure itself
is easy enough to update but the sources need some fixing in order to
make the rather picky DEC/Compaq/hp C compiler happy.  I will try to
attend to that at some point but am a bit swamped at the moment, so
for now I'll just list the compilation errors below.  Most are
signed/unsigned nits that can be fixed with casting, but some (like
the array bounds in relaxng.c) may be actual coding errors.

        input->filename = xmlCanonicPath(filename);
.........................................^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "filename" is "const char", 
which is not compatible with "const unsigned char" because they differ by signed/unsigned attribute.
at line number 10734 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]PARSER.C;1
***************
        input->filename = xmlCanonicPath(filename);
........^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "xmlCanonicPath(...)" is 
"unsigned char", which is not compatible with "const char" because they differ by signed/unsigned attribute.
at line number 10734 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]PARSER.C;1
***************
        ctxt->filename = (char *) xmlCanonicPath((xmlChar *) filename);
..................................^
%CC-I-IMPLICITFUNC, In this statement, the identifier "xmlCanonicPath" is implicitly declared as a function.
at line number 1757 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]DEBUGXML.C;1
***************
       inputStream->filename = xmlCanonicPath(filename);
..............................................^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "filename" is "const char", 
which is not compatible with "const unsigned char" because they differ by signed/unsigned attribute.
at line number 5921 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]DOCBPARSER.C;1
***************
       inputStream->filename = xmlCanonicPath(filename);
.......^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "xmlCanonicPath(...)" is 
"unsigned char", which is not compatible with "const char" because they differ by signed/unsigned attribute.
at line number 5921 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]DOCBPARSER.C;1
***************
    inputStream->filename = xmlCanonicPath(filename);
...........................................^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "filename" is "const char", 
which is not compatible with "const unsigned char" because they differ by signed/unsigned attribute.
at line number 791 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]CATALOG.C;1
***************
    inputStream->filename = xmlCanonicPath(filename);
....^
%CC-W-PTRMISMATCH1, In this statement, the referenced type of the pointer value "xmlCanonicPath(...)" is 
"unsigned char", which is not compatible with "const char" because they differ by signed/unsigned attribute.
at line number 791 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]CATALOG.C;1
***************
                outtmp[2] = ((intmp[2] & 0x03) << 6) | (intmp[3] & 0x3F);
..............................................................^
%CC-I-SUBSCRBOUNDS, In this statement, an array is being accessed outside the bounds specified for the array 
type.
at line number 2939 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]XMLREADER.C;1
***************
    msg[1000] = 0;
........^
%CC-I-SUBSCRBOUNDS, In this statement, an array is being accessed outside the bounds specified for the array 
type.
at line number 1994 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]RELAXNG.C;1
***************
        xmlFreeDoc(ctxt->doc);
...................^
%CC-W-PTRMISMATCH, In this statement, the referenced type of the pointer value "ctxt->doc" is "struct 
_xmlRelaxNGDocument", which is not compatible with "struct _xmlDoc".
at line number 6555 in file BRIANA$DKB100:[CRAIG.LIBXML2-2_5_7]RELAXNG.C;1


-- 
________________________________________
Craig A. Berry
mailto:craigberry mac com

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser



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