Stream: git-wasmtime

Topic: wasmtime / issue #6188 Change `asm` to `__asm__` in `help...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 10 2023 at 15:19):

kevaundray commented on issue #6188:

For more context: https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Alternate-Keywords.html#Alternate-Keywords

Note that the asm keyword is a GNU extension. Use __asm__ instead of asm when your code is compiled with -ansi and the various -std options. The Linux kernel uses both __asm__ and asm for compatibility.


Last updated: Oct 23 2024 at 20:03 UTC