Title | The MPS does not build on windows. |
Status | closed |
Priority | critical |
Assigned user | David Lovemore |
Organization | Ravenbrook |
Description | The 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' |
Analysis | changelist 185463 introduces this problem with a BOOL(v) macro. This causes the following code in winbase.h to go wrong: typedef BOOL (WINAPI *PINIT_ONCE_FN) ( __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 found | manual_test |
Evidence | Try building the mps on windows. |
Created by | David Lovemore |
Created on | 2014-04-25 12:25:55 |
Last modified by | David Lovemore |
Last modified on | 2014-04-28 13:16:00 |
History | 2014-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 |