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

Use standard __asm__ blocks instead of asm #103

Merged
merged 2 commits into from
Aug 17, 2024
Merged

Conversation

LordAro
Copy link
Contributor

@LordAro LordAro commented May 23, 2024

Figured I might as well do it.

https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Alternate-Keywords.html#Alternate-Keywords

The keywords asm, typeof and inline are not available in programs compiled with -ansi or -std

Guess that's what's done it. Again, no idea why it's not been an issue for anyone else.

Also tidied up volatile usage (which is allowed with -std=c99)

Fixes #102

@karel-m karel-m mentioned this pull request Jul 6, 2024
@karel-m
Copy link
Contributor

karel-m commented Jul 6, 2024

@sjaeckel is this something we want/need to backport to libtomcrypt?

@karel-m
Copy link
Contributor

karel-m commented Jul 6, 2024

Just for reference:

@karel-m karel-m merged commit 82b7bcb into DCIT:master Aug 17, 2024
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.

Build failure on MSYS2 due to asm block
2 participants