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

Date view Thread view Subject view Author view

From: David Doolin (doolin@cs.utk.edu)
Date: Thu Jul 06 2000 - 11:17:16 EDT


In message <20000706155619.B20699@w3.org>, Daniel Veillard writes:
>
>On Thu, Jul 06, 2000 at 03:08:34PM +0200, Peter Jacobi wrote:
>> Hi Erwin, Daniel, All,
>
> Tribute due: David Doolin is probably the most aware of libxml
> on windows issues

Thanks. I really enjoy using the lib, and will even submit a
note to a refeered journal on the markup I derived for my
dissertation work. Speaking of which, I need a formal,
preferably peer-reviewed citation for libxml.

>
> For the record, and if he accepts I would like to make him
>"responsible" for the Win32 issues, since he's the one who worked
>recently on the subject. The discussions on this topic should stay
>on this list anyway.

Beware! I am in dissertation mode!

>
>> I'm somewhat behind updating my projects to the newest libxml versions,
>> but I want to comment on Erwins's WIN32 compatibiliy report.
>>
>> I urge not to make the WIN32 compatibility a MSVC only thing.
>>
>> Just a) working around some UNIX-specific non-ANSI/ISO stuff and b)
>> adapt for winsock should make every compiler on WIN32 happy.
>
> Send patches :-)
>
> Honnestly I'm Win32 agnostic. I just want:

Actually, I am pretty much operating system agnostic myself. The whole topic
kind of bores me. I guess in a perfect world, sun4... ;)

>
> - not to destroy the existing code
> - to try to isolate those Win32 specific issues and constructs
> in a separated file (specific includes, defines, exports for DLL,
> etc...) hence the specific config file.

This stuff should be relatively trivial. It takes me just a few minutes
to put in the necessary changes that taking time to generate a patch
seems counterproductive.

What I will do (on next release), is generate patches for as many of the
cast/comparison warnings as I can, and a patch for the <direct.h> and
<strings.h> includes. What I will not do, is patch how the header files
are handled (win32config.h). This is a little beyond what I care to
tackle, being a design issue rather than an implementation issue.

>
> Also don't ask me to check anything on Windows, I don't have it and
>don't expect to use or install it in the forseable future. Testing
>occasionally on Solaris or AIX is possible for me without too much
>pain so I do it from time to time.

Right. You just keep on doing what you are doing... This is really important
because otherwise, I would be linking the MS xml parser. I really
*don't* want to do that... at some point my code wants to go back to unix...

Thanks,
Dave Doolin

----
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:22 EDT