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

* 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
SP_WIDE_SYSTEM builds.

regards.

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