Re: [xml] Compile error libxml2-2.1.1/WIN32

Date view Thread view Subject view Author view

From: Erwin Rol (Erwin.Rol@q-soft-engineering.com)
Date: Thu Jul 06 2000 - 09:36:32 EDT


Daniel Veillard wrote:
>
> On Thu, Jul 06, 2000 at 01:55:49PM +0200, Erwin Rol wrote:
> > i just wanted to ask what the state is of LIBXML2 on WIN32.
> > I saw some typicle UNIX->WIN32 probleems like using int's for
> > socket descriptors and not the SOCKET type in wIN32 (that is unsigned).
> > And checking < 0 for errors from network functions which is not the
> > recomended way on WIN32.
>
> libxml will stick as much as possible to the POSIX standard.
> If supporting WIN32 means adding a lot of mess and dropping
> adherence to that standard, then I won't accept patches for this.
>
> The config.h file is auto generated this is the result of the
> configure processing. It should not be hacked specifically for WIN32
> hence the winconfig.h stuff.

I know but the
#ifdef WIN32
#include "winconfig.h"
#else
#include <config.h>
#endif

is rather messy, what if there is a OS2 port or some other non autoconf
aware
pladform, will you make this #ifdeffing even bigger.
When always using config.h in the sources, the make processes just has
to copy
winconfig.h to config.h before building on win32. or os2config.h to
config.h
on OS2 or what ever.

- Erwin

>
> Send patches, if they are a mess w.r.t. the POSIX API I will reject
> them, if they don't uglyfy the code (or fix stuff) then I will accept
> them.
>
> Daniel
>
> PS: subscribe to the list if you want to follow that discussion.
I am on it. (reading it might help though :-)

>
> --
> 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

-- 
        Q - S O F T - E N G I N E E R I N G 
     Rodachtalweg 11, 81549 Muenchen, Germany

Erwin Rol (Software Engineer) phone: +49-89-68050051 Erwin.Rol@Q-Soft-Engineering.com fax : +49-89-68050052 ---- 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:20 EDT