This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fix the usage of sscanf on MinGW
ClosedPublic

Authored by mstorsjo on Aug 17 2021, 3:17 AM.

Details

Summary

KMP_SSCANF only evaluates to sscanf_s within

#if KMP_OS_WINDOWS && KMP_MSVC_COMPAT

so we need to pass the sscanf_s specific parameters within a similar
condition.

Diff Detail

Event Timeline

mstorsjo created this revision.Aug 17 2021, 3:17 AM
mstorsjo requested review of this revision.Aug 17 2021, 3:17 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
This revision is now accepted and ready to land.Aug 17 2021, 8:44 AM
This revision was automatically updated to reflect the committed changes.