microsoft / wil

Windows Implementation Library
MIT License
2.57k stars 234 forks source link

WI_FAIL_FAST_ASSERT missing semicolon #431

Closed Codorono closed 7 months ago

Codorono commented 7 months ago

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)); \

dunhor commented 7 months ago

Thanks for reporting this