Thread overview
[Issue 23613] ImportC: asm with parentheses
Jan 09, 2023
Jacob Carlborg
Jan 09, 2023
Jacob Carlborg
Jan 09, 2023
Iain Buclaw
Jan 09, 2023
Walter Bright
Jan 09, 2023
Walter Bright
January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23613

--- Comment #1 from Jacob Carlborg <doob@me.com> ---
Since the preprocessor is Clang, there's currently a mismatch in what language features the preprocessor supports and what the actual compiler supports.

--
January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23613

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC

--
January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23613

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
I suspect this is a WONTFIX, use a compiler that supports GDC-style assembly, LDC also supports GDC asm.

--
January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23613

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23616

--
January 09, 2023
https://issues.dlang.org/show_bug.cgi?id=23613

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> ---
Supporting the gnu assembler, in all its glory, isn't realistic for ImportC. However, most .h files #ifdef out that stuff.

Hence:

https://github.com/dlang/dmd/pull/14799 should sidestep the problem.

WONTFIX

--