Closed ArashPartow closed 3 years ago
/implot/implot.cpp: In function 'bool ImPlot::BeginSubplots(const char*, int, int, const ImVec2&, ImPlotSubplotFlags, float*, float*)': /implot/implot.cpp:2855:21: error: unused variable 'nrm_col' [-Werror=unused-variable] const ImU32 nrm_col = ImGui::ColorConvertFloat4ToU32(GImGui->Style.Colors[ImGuiCol_Separator]); ^~~~~~~ /implot/implot.cpp:2860:22: error: variable 'mouse' set but not used [-Werror=unused-but-set-variable] const ImVec2 mouse = ImGui::GetIO().MousePos; ^~~~~ /implot/implot.cpp:2812:17: error: unused variable 'txt_height' [-Werror=unused-variable] const float txt_height = ImGui::GetTextLineHeight(); ^~~~~~~~~~ cc1plus: all warnings being treated as errors /implot/implot_demo.cpp: In function 'void ImPlot::ShowDemo_SubplotItemSharing()': /implot/implot_demo.cpp:1028:45: error: unused variable 'payload' [-Werror=unused-variable] if (const ImGuiPayload* payload = ImGui::AcceptDragDropPayload("MY_DND"))
Thanks! Fixed.
PS: Love exprtk! I have an embarrassingly simple demonstration of it and ImPlot in the implot_demos repo. Hope to make something a little more elaborate one day :)