Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert() may not be available #120

Open
ocornut opened this issue Jul 2, 2020 · 0 comments
Open

assert() may not be available #120

ocornut opened this issue Jul 2, 2020 · 0 comments

Comments

@ocornut
Copy link

ocornut commented Jul 2, 2020

In my barebone VS2019 projects compiling this fails because assert() is unknown.
You may either:

  • Use IM_ASSERT() (if imgui.h is included)
  • Include <assert.h>

I would personally suggest the earlier solution over the later one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant