Thread overview
[Issue 19816] adding import causes symbol lookup deperecation message in another module
Apr 18, 2023
RazvanN
Apr 19, 2023
Rainer Schuetze
Apr 19, 2023
Rainer Schuetze
Apr 20, 2023
RazvanN
Apr 28, 2023
RazvanN
April 18, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> ---
Is this issue still valid? I don't have access to a windows machine.

--
April 19, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|dmd                         |phobos

--- Comment #2 from Rainer Schuetze <r.sagitario@gmx.de> ---
Since dmd 2.087 until 2.103, the error message is

c:\d\dmd-2.087.0\windows\bin\..\..\src\phobos\std\internal\windows\advapi32.d(32):
Error: undefined identifier HMODULE, did you mean alias HMODULE?
```

That message is a bit confusing, but the import of core.sys.windows.windef is actually missing in advapi32.d. So this is a phobos issue.

--
April 19, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

Rainer Schuetze <r.sagitario@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|phobos                      |dmd

--- Comment #3 from Rainer Schuetze <r.sagitario@gmx.de> ---
On second thought, advapi32 is correct, it imports core.sys.windows.winnt which publicly imports core.sys.windows.windef. So still a dmd problem.

--
April 20, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

--- Comment #4 from RazvanN <razvan.nitu1305@gmail.com> ---
This seems related, if not a dupe of: https://issues.dlang.org/show_bug.cgi?id=23818

--
April 20, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

Steven Schveighoffer <schveiguy@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy@gmail.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23818

--- Comment #5 from Steven Schveighoffer <schveiguy@gmail.com> ---
Likely it's the same heisenbug. The easy reproduction using released versions in issue 23818 should be kept because this is one of those bugs you can only reproduce with very weird exact requirements. So I don't know if either should be closed as duplicates.

--
April 28, 2023
https://issues.dlang.org/show_bug.cgi?id=19816

RazvanN <razvan.nitu1305@gmail.com> changed:

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

--- Comment #6 from RazvanN <razvan.nitu1305@gmail.com> ---
We can close this one as a link to it is going to be present in issue 23818

*** This issue has been marked as a duplicate of issue 23818 ***

--