Compile errors when compiling imgui-1.91.5-docking on windows using clang++ #8183
6413
started this conversation in
New Users Build/Link/Run issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Compiling docking branch 1.91.5 on Windows, I got errors mainly from imgui using
offsetofin static_asserts where first parameter is expected to be bool-constexpr. Since in Windows's clangoffsetofuses reinterpret_cast, which is not constexpr expression.This works in Linux, since it uses
__builtin_offsetof, and MSVC seems to quietly pass it as well. Am I missing something from compile parameters or has this not been taken accounted for? I have included the compile errors in the txt file below.Compile parameters
clang++ -std=c++2a -DIMGUI_IMPL_OPENGL_LOADER_CUSTOM -DIMGUI_DEFINE_MATH_OPERATORS -c imgui_draw.cpp -o imgui_draw.oCompiler info
compile_errors.txt
Beta Was this translation helpful? Give feedback.
All reactions