Re: [xml] Compiling todays's snapahot on Win32

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Feb 29 2000 - 11:47:05 EST


On Mon, Feb 28, 2000 at 04:06:42PM +0100, Peter Jacobi wrote:
>
> Dear all,
>
> I just want to inform you, that the soon-to-be-v2.0.0 snapshot
> compiles OK under Win32 (see below for some minor issues).
>
> Keep in mind that I'm using Watcom C++ 11.0b and cannot speak
> for issues specific to MSVC.
>
> Incompatibilities my code experienced:
>
> xmlNode->childs => xmlNode->children
> xmlDoc->root => xmlDoc->children

  Yep I need to write a small 1.x to 2.x roadmap

> Compiler warnings etc:
>
> nanoftp.c
> AFAIK all lengths in sockets API are int, not size_t and my
> compiler complains over providing a size_t* where a int* is
> expected.
>
> parser.c 4080 : "Assignment found in boolean expression"
> if ((name[0] = 'x') && (name[1] == 'm') &&
> (name[2] = 'l') && (name[3] == 0)) {

  Ouch, again, sorry

> parser.c 9243 : "Meaningless use of expression"
> doc->children == NULL;

  that code section is fixed too.

thanks for the report,

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:05 EDT