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
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.
The text was updated successfully, but these errors were encountered:
NEIL-smtg
changed the title
[MSVC] Compiler error in sample_benchmark.cpp due to recent changes in ocornut/imgui
[MSVC] Compile error in sample_benchmark.cpp due to recent changes in ocornut/imgui
Nov 8, 2024
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: ocornut/imgui@0bde57c#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
The text was updated successfully, but these errors were encountered: