Thread overview
[Issue 24042] ImportC: Error: no definition for static function
[Issue 24042] ImportC: Error: no definition for static 'function'
Jul 09, 2023
Iain Buclaw
Nov 23, 2023
Walter Bright
Nov 23, 2023
Walter Bright
Nov 23, 2023
Dlang Bot
Nov 23, 2023
Dlang Bot
Nov 23, 2023
Dlang Bot
Nov 24, 2023
Dlang Bot
Nov 24, 2023
Dennis
Nov 24, 2023
Iain Buclaw
July 09, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic, ImportC
                 CC|                            |ibuclaw@gdcproject.org

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> ---
Unfortunately, the backend Symbol does not include file/line info. It would be expensive to add it for just this case.

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ImportC: Error: no          |ImportC: Error: no
                   |definition for static       |definition for static
                   |'function'                  |function

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

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

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #15855 "fix Issue 24042 - ImportC: Error: no definition for static function" fixing this issue:

- fix Issue 24042 - ImportC: Error: no definition for static function

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

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright updated dlang/dmd pull request #15856 "fix Issue 24031 - ImportC: rejects nested C initializers" fixing this issue:

- fix Issue 24042 - ImportC: Error: no definition for static function

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

--
November 23, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #15857 "fix Issue 24042 - ImportC: Error: no definition for static function" fixing this issue:

- fix Issue 24042 - ImportC: Error: no definition for static function

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

--
November 24, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

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

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

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #15857 "fix Issue 24042 - ImportC: Error: no definition for static function" was merged into master:

- 256e74d01e0b75918b2d4f6d566a9b847ba36c76 by Walter Bright:
  fix Issue 24042 - ImportC: Error: no definition for static function

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

--
November 24, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |dkorpel@live.nl
         Resolution|FIXED                       |---

--- Comment #6 from Dennis <dkorpel@live.nl> ---
Re-opening, linked PR didn't add requested front-end check: https://github.com/dlang/dmd/pull/15857#issuecomment-1825185778

--
November 24, 2023
https://issues.dlang.org/show_bug.cgi?id=24042

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---
(In reply to Walter Bright from comment #1)
> Unfortunately, the backend Symbol does not include file/line info. It would be expensive to add it for just this case.
Isn't the line info just a ushort now?

--