On Tue, 19 Mar 2019 at 15:11, Marshall Clow via Boost-users <boost-users@lists.boost.org> wrote:


On Tue, Mar 19, 2019 at 2:43 AM Rainer Deyke via Boost <boost@lists.boost.org> wrote:
On 13.03.19 15:49, Marshall Clow via Boost wrote:
> For details of what's in the release, see <
> https://www.boost.org/users/history/version_1_70_0.html>.
>
> Please download the beta, give it a try, and report any problems you
> encounter.

I want to report a problem.

Boost.Test is broken when cross-compiling for Windows on Linux using a
case-sensitive file system because it #includes <Windows.h> instead of
<windows.h> on line 32 of boost/test/utils/timer.hpp.

I did a quick grep through the boost sources, and found:
* About 250 #includes of "windows.h" (all lower case)
* Zero #includes of "Windows.h" (upper-case 'W')
(and a reference to changing one instance in Boost.Test from "Windows.h" to "windows.h" for 1.67.0)

We may or may not be correct, but we're quite consistent.

-- Marshall

The Windows SDK spells it with a captial W. On Windows, it doesn't matter, but I suggest the "Windows on Linux" system that is being used is incorrect. This should be solvable with soft links.

c:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um\Windows.h
c:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um\Windows.h

-- Craig