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

MD5.xs - remove meaningless type qualifier on cast type #23

Merged
merged 2 commits into from
Dec 30, 2023

Conversation

demerphq
Copy link

On the HPUX Itanium compiler (which is very picky), we get warnings about the second "const" in these casts. Removing them makes the compiler happy doesn't seem to do any harm.

"MD5.xs", line 470: warning #2191-D: type qualifier is meaningless on cast type
&& mg->mg_virtual == (const MGVTBL * const)&vtbl_md5) {
^

"MD5.xs", line 492: warning #2191-D: type qualifier is meaningless on cast type
sv_magicext(sv, NULL, PERL_MAGIC_ext, (const MGVTBL * const)&vtbl_md5, (const char *)context, 0);

Includes a version bump to 2.59, Changes update and test updates.

demerphq and others added 2 commits March 23, 2023 14:34
On the HPUX Itanium compiler (which is very picky), we get warnings
about the second "const" in these casts. Removing them makes the
compiler happy doesn't seem to do any harm.

"MD5.xs", line 470: warning #2191-D: type qualifier is meaningless on cast type
            && mg->mg_virtual == (const MGVTBL * const)&vtbl_md5) {
                                  ^

"MD5.xs", line 492: warning #2191-D: type qualifier is meaningless on cast type
        sv_magicext(sv, NULL, PERL_MAGIC_ext, (const MGVTBL * const)&vtbl_md5, (const char *)context, 0);

Includes a version bump to 2.59, Changes update and test updates.
@toddr toddr merged commit 361e384 into Dual-Life:master Dec 30, 2023
1 check failed
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