You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/xxx/bots2d/src/renderer/ImGuiOverlay.cpp: In static member function ‘static void ImGuiOverlay::text(std::__cxx11::string)’:
/home/xxx/bots2d/src/renderer/ImGuiOverlay.cpp:62:29: error: format not a string literal and no format arguments [-Werror=format-security]
ImGui::Text(text.c_str());
^
cc1plus: all warnings being treated as errors
Replacing
ImGui::Text(text.c_str());
by
ImGui::TextUnformatted(text.c_str());
seems to be the solution.
The text was updated successfully, but these errors were encountered:
Compilation error in Ubuntu 20 + gcc 7.5 :
Replacing
by
seems to be the solution.
The text was updated successfully, but these errors were encountered: