MPS issue job003774

TitleThe MPS does not build on windows.
Assigned userDavid Lovemore
DescriptionThe MPS does not build on windows. Building gives you the following error and many more:

C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\winbase.h(362) : error C2059: syntax error : 'type'
Analysischangelist 185463 introduces this problem with a BOOL(v) macro.
This causes the following code in winbase.h to go wrong:

    __inout PINIT_ONCE InitOnce,
    __inout_opt PVOID Parameter,
    __deref_opt_out_opt PVOID *Context
BOOL(WINAPI *PINIT_ONCE_FN) is interpreted as this macro and goes wrong.

A fix would be to use BOOLOF(v) instead of BOOL(v)
How foundmanual_test
EvidenceTry building the mps on windows.
Created byDavid Lovemore
Created on2014-04-25 12:25:55
Last modified byDavid Lovemore
Last modified on2014-04-28 13:16:00
History2014-04-25 DL Created.


Change Effect Date User Description
185841 closed 2014-04-28 13:14:04 David Lovemore Rename BOOL(v) to BOOLOF(v) to fix clash with the windows header file windows.h