microsoft / wil

Windows Implementation Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WI_FAIL_FAST_ASSERT missing semicolon

Codorono opened this issue · comments

This line:
WI_FAIL_FAST_ASSERT(::GetTickCount64() == 0);

Gives this error:
error C2143: syntax error: missing ';' before '}'

Because this line:
__RFF_FN(FailFast_Unexpected)(__RFF_INFO_ONLY(#condition)) \

Should have a semicolon:
__RFF_FN(FailFast_Unexpected)(__RFF_INFO_ONLY(#condition)); \

Thanks for reporting this