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

avoid LTO issues #2681

Merged
merged 1 commit into from
Jul 8, 2023
Merged

avoid LTO issues #2681

merged 1 commit into from
Jul 8, 2023

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Jul 6, 2023

Place structs inside the places where used.

@ghost
Copy link

ghost commented Jul 6, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@neheb
Copy link
Collaborator Author

neheb commented Jul 7, 2023

Fixes: #2680

Copy link
Collaborator

@kevinbackhouse kevinbackhouse left a comment

Choose a reason for hiding this comment

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

The difference between the two structs is that one has a uint32_t field and the other long. I'd like to remove all occurrences of long anyway, so I suggest we use uint32_t in both. With that change, this struct could potential be moved to a shared header file.

src/pentaxmn_int.cpp Outdated Show resolved Hide resolved
src/pentaxmn_int.cpp Outdated Show resolved Hide resolved
@neheb
Copy link
Collaborator Author

neheb commented Jul 7, 2023

Done.

Place structs inside the places where used.

Signed-off-by: Rosen Penev <[email protected]>
Copy link
Collaborator

@1div0 1div0 left a comment

Choose a reason for hiding this comment

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

LG2M

@neheb neheb merged commit 8a09f2d into Exiv2:main Jul 8, 2023
109 checks passed
@neheb neheb deleted the lto branch July 8, 2023 13:55
@neheb
Copy link
Collaborator Author

neheb commented Jul 8, 2023

@Mergifyio backport 0.28.x

@mergify
Copy link
Contributor

mergify bot commented Jul 8, 2023

backport 0.28.x

✅ Backports have been created

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