Hi, I work on MSVC compiler testing, and we regularly build popular open-source project such as box2d, with development builds of MSVC in order to find and fix regressions before they ship and cause problems for you.
Recently, as I tried to build box2d from source, I encountered the following error:
C:\gitP\erincatto\box2d\samples\sample_benchmark.cpp(1329,37): error C2662: 'const ImFontGlyph *ImFont::FindGlyph(ImWchar)': cannot convert 'this' pointer from 'const ImFont' to 'ImFont &'
C:\gitP\erincatto\box2d\samples\sample_benchmark.cpp(1329,31): note: Conversion loses qualifiers
C:\gitP\erincatto\box2d\build\imgui\imgui.h(3566,33): note: see declaration of 'ImFont::FindGlyph'
C:\gitP\erincatto\box2d\samples\sample_benchmark.cpp(1329,37): note: while trying to match the argument list '(const char)'
Could you please let me know if you are planning to update your code to align with these recent changes? Or would you prefer that I report this issue directly to the ocornut/imgui.
Hi, I work on MSVC compiler testing, and we regularly build popular open-source project such as box2d, with development builds of MSVC in order to find and fix regressions before they ship and cause problems for you.
Recently, as I tried to build box2d from source, I encountered the following error:
I found that this issue is likely due to recent changes made in
imgui.h
andimgui_draw.cpp
within the ocornut/imgui repository. The relevant commit can be found here: https://github.com/ocornut/imgui/commit/0bde57c25a90ee1b99e511385611db6185d318f8#diff-cbc47f9fc55eb2c19b4be92d1c1e137bb8b72d072588ab3cb4bcba88576d14cbR3474Could you please let me know if you are planning to update your code to align with these recent changes? Or would you prefer that I report this issue directly to the ocornut/imgui.
Repro Steps:
Build log: b2d.txt