-
Notifications
You must be signed in to change notification settings - Fork 173
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
Doesn't compile on C++03 because of delegated ctor #97
Comments
When I build your project, I have this error:
Do you have a workaround or a fix for this ? |
OK I found a workaround I added this line in CMakeLists.txt: |
Hey, can you please check this on C++03 on latest master? |
Sorry now I have this, I know it has no link with this issue but...
Earlier I had this:
I presume the difference comes from
|
OK I had to remove imgui* files from /usr/local/include and now it builds. |
Spotted in #97 - we only want to search in IMGUI_SEARCH_PATH, otherwise "IMGUI_DIR" won't work correctly.
Fixed in the latest commit. The problem was that by installing ImGui-SFML, you installed imgui.h in /usr/local/include and CMake tried to use /usr/local as a search path in FindImGui.cmake, which is something I don't want to have. So, thanks twice! |
Discovered in microsoft/vcpkg#7429
Delegated ctor is a C++11 feature, so we shouldn't use it. Also funny how no one noticed it for such a long time - guess very-very few people use C++03 now. ¯_(ツ)_/¯
The text was updated successfully, but these errors were encountered: