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

Redefinition errors including ImGuiIntegration/Context.hpp multiple times #50

Closed
melix99 opened this issue Jul 20, 2019 · 1 comment
Closed

Comments

@melix99
Copy link
Contributor

melix99 commented Jul 20, 2019

When including the ImGuiIntegration/Context.hpp multiple times (when for example there are two files that include ImGuiIntegration/Context.hpp and these files are included in another file) the compiler gives several redefinition errors.
This is due to missing #pragma once or #ifndef/#define in the ImGuiIntegration/Context.hpp file.

@mosra mosra added this to the 2019.0b milestone Jul 20, 2019
@mosra mosra added this to TODO in GUI via automation Jul 20, 2019
@mosra
Copy link
Owner

mosra commented Jul 20, 2019

Ugh. Sorry about that. All the headers guards were messed up for some reason, fixed in a3609bc.

@mosra mosra closed this as completed Jul 20, 2019
GUI automation moved this from TODO to Done Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
GUI
  
Done
Development

No branches or pull requests

2 participants