Sfoglia il codice sorgente

Disable warning C4113 in SDL_windows_gaming_input.c

- A new version of warning C4028 added in VS 2022.
Sam Lantinga 1 anno fa
parent
commit
65a718f8c6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/joystick/windows/SDL_windows_gaming_input.c

+ 1 - 0
src/joystick/windows/SDL_windows_gaming_input.c

@@ -551,6 +551,7 @@ static HRESULT STDMETHODCALLTYPE IEventHandler_CRawGameControllerVtbl_InvokeRemo
 #ifdef _MSC_VER
 #pragma warning(push)
 #pragma warning(disable : 4028) /* formal parameter 3 different from declaration, when using older buggy WGI headers */
+#pragma warning(disable : 4113) /* formal parameter 3 different from declaration (a more specific warning added in VS 2022), when using older buggy WGI headers */
 #endif
 
 static __FIEventHandler_1_Windows__CGaming__CInput__CRawGameControllerVtbl controller_added_vtbl = {