Skip to content

fix 32-bit compilation on old Glib #716

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

Merged
merged 1 commit into from
Mar 17, 2025
Merged

Conversation

vassilit
Copy link
Collaborator

The 64-bit released version of rmlint already uses G_SIZEOF_MEMBER, that is available on 2.64. So in practice, rmlint 2.10.2 has already 2.64 as a minimum version.
However, the 32-bit code does not use this macro, so it still compiles under older Glib on 32-bit. Let's not break user compatibility for 2.10.

This will be properly fixed in 2.11.

@RayOei
Copy link
Collaborator

RayOei commented Mar 17, 2025

This will be properly fixed in 2.11.

In which issue is this included?

@vassilit
Copy link
Collaborator Author

This will be properly fixed in 2.11.

In which issue is this included?

No, this issue is for 2.10.3. for 2.11 we fix 2.64 as the minimum Glib version, which is already the case for the 64 bit version.

@vassilit
Copy link
Collaborator Author

To be clear, now (already released 2.10.2):

  • 64-bit compilation: de facto minimum Glib is 2.64
  • 32-bit compilation: minimum Glib is 2.32

It should stays the same in 2.10.3.

For 2.11 both will have 2.64 as the minimum Glib version.

@vassilit
Copy link
Collaborator Author

This will be properly fixed in 2.11.
In which issue is this included?

See #708 and #707

This one should be merged for 2.10.3.

@vassilit vassilit merged commit 0822ddf into sahib:master Mar 17, 2025
1 check 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.

2 participants