We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Unsure if this is a bug or a feature request:
The following snippet compiles and triggers a heap corruption runtime check on MSVC
enum class ETest : uint8_t { A, B }; int main() { flecs::world ecs; ecs.component<ETest>(); ecs.entity().set<ETest>(1); return 0; }
Expected behavior I don't think the above should be allowed to compile?
The text was updated successfully, but these errors were encountered:
Updated the description, this is not currently supported. Will look into why it crashes though, that's not nice.
Sorry, something went wrong.
#696 add assert when trying to register enum with non-32bit type
f28fae5
Added an assert that checks if the enum is of the correct size.
No branches or pull requests
Describe the bug
Unsure if this is a bug or a feature request:
The following snippet compiles and triggers a heap corruption runtime check on MSVC
Expected behavior
I don't think the above should be allowed to compile?
The text was updated successfully, but these errors were encountered: