temporarily suppress clang warnings on "-Wincompatible-function-pointer-types"

This commit is contained in:
Ilya Shipitsin committed 2023-09-16 00:03:03 +02:00
1 parent 1be55ebb94
commit f736d18267
4 files changed
+18

No files matched your search

+3
View File
@@ -2846,7 +2846,10 @@ bool Win32InitThread(THREAD *t)
// Thread creation
t->pData = w;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
hThread = (HANDLE)_beginthreadex(NULL, 0, Win32DefaultThreadProc, info, 0, &thread_id);
#pragma clang diagnostic pop
if (hThread == NULL)
{
// Thread creation failure