importC: __asm volatile parsing failure - issue or not?

Walter Bright newshound2 at digitalmars.com
Mon Apr 1 00:18:15 UTC 2024


On 3/31/2024 2:38 AM, Denis Feklushkin wrote:
> "asm volatile" works as expected, but "asm" isn't C11 keyword

"asm" is a C11 keyword, see C11.j.5.10

dmd doesn't support the gcc asm syntax, only the Microsoft & Digital Mars syntaxes.

Usually, in header files with asm syntax, it can be disabled with an #ifdef.


More information about the Digitalmars-d mailing list