Skip to content

Commit

Permalink
Backends: Win32: Fixed warning with old MinGW/GCC versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Jun 28, 2024
1 parent 404af57 commit c7df9c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/imgui_impl_win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ typedef DWORD(WINAPI* PFN_XInputGetState)(DWORD, XINPUT_STATE*);
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas" // warning: unknown option after '#pragma GCC diagnostic' kind
#pragma GCC diagnostic ignored "-Wcast-function-type" // warning: cast between incompatible function types (for loader)
#endif

Expand Down

0 comments on commit c7df9c7

Please sign in to comment.