pdimov wrote:

I get the warning for your code.
```
1>testbed2022.cpp(8,15): warning : cast from 'FARPROC' (aka 'long long (*)()') 
to 'PGNSI' (aka 'void (*)(_SYSTEM_INFO *)') converts to incompatible function 
type [-Wcast-function-type-mismatch]
```
Make sure you're passing /W4 to clang-cl.

https://github.com/llvm/llvm-project/pull/86131
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to