On Sunday, 25 November 2012 at 12:28:11 UTC, Jonathan M Davis
wrote:
On Sunday, November 25, 2012 10:38:36 Vladimir Panteleev wrote:
Copyright? Last I checked almost all files, except the WinSock
ones, are explicitly specified to be in the public domain.
Please
clarify?
That's certainly what I remember. What's always confused me
though is that
I've heard that you can't copy from Microsoft's headers because
of the
copyright on them, but I have no idea where on earth anyone
could ever have
gotten any Windows headers except from Microsoft. But given
that I've heard it
disputed that you can even truly copyright headers in the first
place (since
they're essentially an API rather than an implementation), I
really don't know
what the legal situation with all of this is. However, many of
the mingw
headers definitely are definitely in the public domain from
what I recall.
You might be able to recreate the headers using:
1) Documentation
2) Programs which print the values of various defines
3) Reimplementation, for macros (e.g. MAKE_HRESULT).
IIRC, this is similar to what Wine guidelines recommend.