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

Revert cileimInterface ImageData from using to plain struct #241

Merged
merged 1 commit into from
May 10, 2024

Conversation

patkenneally
Copy link
Collaborator

@patkenneally patkenneally commented May 10, 2024

  • Tickets addressed: hot-fix
  • Review: By commit
  • Merge strategy: Merge (no squash)

Description

The using keyword is handled differently at the linkage stage in GCC (9.5) compared to Clang (and others). It is fair to assume it's comparable to typedef but not so. A good discussion of this is contained here.

Verification

CI tests run and pass.

Documentation

None new and none invalidated.

Future work

The implementation here of a struct is itself not a good choice. Rather, it should be converted to either a class, or something like a std::pair<>.

@patkenneally patkenneally self-assigned this May 10, 2024
@patkenneally patkenneally requested a review from thibaudteil May 10, 2024 03:21
@patkenneally patkenneally changed the title Revert from using to typedef Revert from using to plain struct May 10, 2024
@patkenneally patkenneally changed the title Revert from using to plain struct Revert cileimInterface ImageData from using to plain struct May 10, 2024
@patkenneally patkenneally merged commit 3edc9c3 into develop May 10, 2024
3 checks passed
@patkenneally patkenneally deleted the bug/using-not-defined-gcc-linkage branch May 10, 2024 16:01
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.

2 participants