On 19.03.19 16:08, Rainer Deyke via Boost wrote:
On 19.03.19 12:40, degski via Boost wrote:
On Tue, 19 Mar 2019 at 11:44, Rainer Deyke via Boost
wrote: Boost.Test is broken when cross-compiling for Windows on Linux using a case-sensitive file system because it #includes
instead of The correct header should be/is 'Windows.h', it's capitalized, MinGW has a similar problem, IIRC.
It's not capitalized in the 30 instances of '#include
' in Boost header files, including 3 from Boost.Test, and it's not capitalized on my file system. It's also not capitalized on the Wikipedia page, it's not /consistently/ capitalized by Microsoft themselves, and even Microsoft are switching to lower case where portability matters: see https://github.com/Microsoft/WinObjC/commit/9e55e2a7cb67fe9a4b3fffb491f7eb62....
I just took the way it appears in the documentation: https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-cr... Windows file system does not care whether it is capitalized or not, and MinGW should not be sensitive to that. I've seen only this header with an upper case W so far, this is typically a Linux issue. Raffi