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 issue #457 #459

Conversation

reicheratwork
Copy link
Contributor

This fixes the issue of comparison operators not returning true for unions with default cases not associated with a type for said default case
Also added unittests for union comparison operators

This PR will fail the Ubuntu + Clang builds until this #458 PR has been merged.

@jordanLatta155 , could you give this one a look please?

This fixes the issue of comparison operators not returning true for
unions with default cases not associated with a type for said default
case
Also added unittests for union comparison operators

Signed-off-by: Martijn Reicher <[email protected]>
Copy link
Contributor

@eboasson eboasson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @reicheratwork !

@jordanLatta155 it'd be great if you could confirm it works for you as well 🙂

@jordanLatta155
Copy link

@reicheratwork, @eboasson, confirmed that this worked for me.

Additionally, adding the default case to the switch statements fixed another issue I had where warnings were triggered from not handling all possible cases.

Thanks for the quick turnaround!

@eboasson
Copy link
Contributor

eboasson commented Nov 9, 2023

Thanks @jordanLatta155 ☺️

Successful CI run with the updated CI build settings: https://dev.azure.com/eclipse-cyclonedds/cyclonedds-cxx/_build/results?buildId=5351&view=results

@eboasson eboasson merged commit e41e5c8 into eclipse-cyclonedds:master Nov 9, 2023
14 of 20 checks passed
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.

3 participants