Skip to content

Instantly share code, notes, and snippets.

In file included from imgui_impl_sdl.cpp:10:0:
/usr/include/SDL2/SDL_syswm.h:108:18: warning: comma at end of enumerator list [-Wpedantic]
SDL_SYSWM_MIR,
^
imgui_impl_sdl.cpp:189:9: warning: unused parameter ‘window’ [-Wunused-parameter]
bool ImGui_ImplSdl_Init(SDL_Window* window)
^
../../imgui.cpp: In static member function ‘static void ImGui::ShowMetricsWindow(bool*)::Funcs::NodeDrawList(ImDrawList*, const char*)’:
../../imgui.cpp:9437:114: warning: format ‘%p’ expects argument of type ‘void*’, but argument 2 has type ‘ImDrawCallback {aka void (*)(const ImDrawList*, const ImDrawCmd*)}’ [-Wformat=]
ImGui::BulletText("Callback %p, user_data %p", pcmd->UserCallback, pcmd->UserCallbackData);