https://issues.dlang.org/show_bug.cgi?id=22161

--- Comment #2 from Iain Buclaw <[email protected]> ---
(In reply to Walter Bright from comment #1)
> That's unsurprising as the D asm parser is being used here. Not really sure
> what to do about it, as duplicating the gcc asm behavior would be a big job.
> 
> I'm going to mark this as an Enhancement, as ImportC's mission is to compile
> C11.

The focus for DMD itself may be to make importC follow DMC asm as closely as it
makes sense to do so.

https://www.digitalmars.com/ctg/ctgInlineAsm.html

This bug report is more for me (and ldc) though, as all asm code in Posix C
headers and sources would be in the GCC style.

--

Reply via email to