DCIT / perl-CryptX

https://metacpan.org/pod/CryptX
Other
34 stars 23 forks source link

Use standard __asm__ blocks instead of asm #103

Closed LordAro closed 2 months ago

LordAro commented 5 months ago

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 commented 4 months ago

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

karel-m commented 4 months ago

Just for reference: