1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-17 21:24:57 +03:00

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

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

View File

@ -93,9 +93,12 @@ void SuDeleteGarbageInfsInner()
return;
}
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
_SetupUninstallOEMInfA =
(UINT (__stdcall *)(PCSTR,DWORD,PVOID))
GetProcAddress(hSetupApiDll, "SetupUninstallOEMInfA");
#pragma clang diagnostic pop
if (_SetupUninstallOEMInfA != NULL)
{