Openmp Win32 build failed for KF_TRACE

Hi, Openmp devs:

When I compiled Openmp with clang-cl(self-build-from-v11.01), three errors were triggered by the compiler.
These errors all happened in KF_TRACE, for printf the flag value with type std::atomic
but using unnecessary flag->get() then get pointer value; and for the second error, printf used format
%d for unsigned value.

Patch is given in the attached file, and the compile error message is listed below.

Thanks for your hard work.

Joseph Shen.

0001-fix-openmp-windows-KT_TRACE-compile-error.patch (1.93 KB)

Thanks for reporting the problem.

I’ve poster patch with the fix.