W3C home > Mailing lists > Public > www-archive@w3.org > January 2004

Re: OpenSP 1.5.1 Win32/MSVC++ patch / binaries

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 18 Jan 2004 00:48:33 +0100
To: openjade-devel@lists.sourceforge.net
Cc: www-archive@w3.org
Message-ID: <4023c62d.85380150@smtp.bjoern.hoehrmann.de>
* Bjoern Hoehrmann wrote:
>Note that my patch would add an unconditional
>  #undef SP_MULTI_BYTE
>to config.h.old.in. onsgmls and osx won't compile on any platform with
>-DSP_MULTI_BYTE as they assume various SP-specific types resolve to char
>while they resolve to wchar_t with SP_MULTI_BYTE. Since SP_MULTI_BYTE is
>the default on Win32 and the various Visual Studio Project files define
>SP_MULTI_BYTE, undefining SP_MULTI_BYTE in config.h is the most simple
>solution to this problem.

It turned out that onsgmls and osx wont compile only if SP_MULTI_BYTE
causes SP_WIDE_SYSTEM to be defined which is a well hidden default on
Win32. The attached patch replaces my previous patch and turns off -D
SP_WIDE_SYSTEM on Win32. I've also updated my binaries accordingly.
Please consider fixing onsgmls/osx or the library part to re-allow -D


Received on Saturday, 17 January 2004 18:48:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:32:21 UTC