mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +03:00
temporarily suppress clang warnings on "-Wincompatible-function-pointer-types"
This commit is contained in:
1 parent
1be55ebb94
commit
f736d18267
4 files changed
+18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user