"Pierre R. Mai" <pmai@...> writes:
> versions of the MinGW Win32API headers since about 7 months ago include
> typedef unsigned char boolean;
> in rpcndr.h, which is included indirectly by many Win32 headers, like
> e.g. shlobj.h (via ole2.h and olebase.h). This is correct w.r.t. the
> Microsoft headers (see https://sourceforge.net/tracker/?
> func=detail&atid=102435&aid=775352&group_id=2435 for details).
> This breaks building SBCL on win32, because of a double definition of
> The attached patch (against CVS HEAD) takes the easy route, and
> defines boolean out of the way prior to including shlobj.h, thus
> allowing builds on new releases of MinGW.
Committed as 0.9.18.70, despite the freeze. Thanks!
I was confused by this for a while, as the MinGW download page lists
the winapi version 3.6 as the current (which doesn't exhibit this),
but I see from the Sourceforge file manager that 3.8 is indeed the
current one (which does trigger the bug).
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."