mirror of https://github.com/ocornut/imgui.git
Browse Source
STB sprintf allows extra formats like %b or %$d. If ImGui is configured to use STB sprintf, it generates warnings with GCC and clang when using such formats because it keeps applying default printf-style warnings. This commit disables printf-style warnings when using STB sprintf. Since the printf-style warnings are defined in imgui.h based on the compiler, IMGUI_USE_STB_SPRINTF can't just be defined in the cpp file anymore and it's been moved as a proper config in imconfig.h.pull/2995/head
Loïc Molinari
5 years ago
committed by
omar
4 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue