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

Fix GCC warning for unhandled 'PACKED_VECTOR4_ARRAY' in switch #104

Closed
wants to merge 1 commit into from

Conversation

Rubonnek
Copy link
Contributor

@Rubonnek Rubonnek commented May 5, 2024

Fixes the following warning:

[ 34%] modules/limboai/util/limbo_utility.cpp: In member function 'PackedInt32Array LimboUtility::get_property_hints_allowed_for_type(Variant::Type) const':
modules/limboai/util/limbo_utility.cpp:426:16: warning: enumeration value 'PACKED_VECTOR4_ARRAY' not handled in switch [-Wswitch]
  426 |         switch (p_type) {
      |                ^

@Rubonnek
Copy link
Contributor Author

Rubonnek commented May 5, 2024

I didn't realize this was merged upstream recently. This should be part of 4.3 support instead -- I'm moving this change to #64.

@Rubonnek Rubonnek closed this May 5, 2024
@Rubonnek Rubonnek deleted the fix-gcc-switch-warning branch May 5, 2024 13:00
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

Successfully merging this pull request may close these issues.

1 participant