Thread overview
[Issue 23206] ImportC: __declspec(noreturn) does not compile
[Issue 23206] ImportC: errors compiling VC .h files that <errno.h> relies on
Jun 23, 2022
Walter Bright
Jun 24, 2022
Walter Bright
Jun 25, 2022
Walter Bright
Jun 26, 2022
Walter Bright
Jun 26, 2022
Walter Bright
Jun 26, 2022
Dlang Bot
Jun 26, 2022
Dlang Bot
June 23, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

Walter Bright <bugzilla@digitalmars.com> changed:

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

--
June 24, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
The first problem is:

__pragma(pack(push, 8))

--
June 25, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=22724

--
June 26, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
That was addressed by 22724.

What's left is:

__declspec(noreturn) void foo(void);

--
June 26, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ImportC: errors compiling   |ImportC:
                   |VC .h files that <errno.h>  |__declspec(noreturn) does
                   |relies on                   |not compile

--
June 26, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #14252 "fix Issue 23206 - ImportC: __declspec(noreturn) does not compile" fixing this issue:

- fix Issue 23206 - ImportC: __declspec(noreturn) does not compile

https://github.com/dlang/dmd/pull/14252

--
June 26, 2022
https://issues.dlang.org/show_bug.cgi?id=23206

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14252 "fix Issue 23206 - ImportC: __declspec(noreturn) does not compile" was merged into master:

- 9df64451e42743b92cc46cf99b0742eed3382125 by Walter Bright:
  fix Issue 23206 - ImportC: __declspec(noreturn) does not compile

https://github.com/dlang/dmd/pull/14252

--