-
-
Notifications
You must be signed in to change notification settings - Fork 890
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
entt build error: unused type alias 'common_type' #1136
Comments
Just to be clear, updated to...? |
This is my submodule update from remote I did this morning. From git submodule update --remote
|
I guess you're using |
I have to throw this out while I have you, love your library mate. Good stuff. Using it to glue ImGui & Lua |
Thanks for the kind words ❤️ I've just created version 3.13.2 that also contains a fix for your issue. |
Looking forward to it.. I saw your long thread on relationships a while back, I've long suspected you might do something with that - just speculation. :) Either way, I'm sure it will be great. You're one hell of a C++ programmer. |
I see master wasn't updated with fix. I see the fix in WIP and see it made it into 3.13.x. I assume I shouldn't be using master branch in my production and use specific released versions? |
Instead of taking whatever master is, do you recommend I just keep up with your latest version in my .gitmodules? e.g. |
Yeah, I strongly suggest using stable releases if possible. As for the other branches, this is how it works in general:
You don't see the fix on |
Just updated entt submodule for my project (I've been using entt since 2022) and got this:
Compiler Error:
entt/entity/snapshot.hpp:90:23: error: unused type alias 'common_type' [-Werror,-Wunused-local-typedef]
using common_type = typename registry_type::common_type;
Compiler:
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
top level project CMake (just showing I'm compiling for C++20):
add_definitions(-Wall -Wextra -Werror -DEIGEN_MPL2_ONLY)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20")
The text was updated successfully, but these errors were encountered: