Jump to page: 1 2
Thread overview
[Issue 23479] ImportC recognizes .i and .c files, but not .h files
Nov 13, 2022
Adam D. Ruppe
Nov 13, 2022
Walter Bright
Nov 13, 2022
Walter Bright
Nov 13, 2022
Dlang Bot
Nov 13, 2022
Dlang Bot
Nov 13, 2022
John Hall
Dec 10, 2022
Dlang Bot
Dec 10, 2022
Iain Buclaw
Dec 17, 2022
Iain Buclaw
Feb 05, 2023
Dlang Bot
Feb 09, 2023
Dlang Bot
Feb 09, 2023
Iain Buclaw
Feb 13, 2023
Dlang Bot
Sep 21
John Hall
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

Adam D. Ruppe <destructionator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator@gmail.com

--- Comment #1 from Adam D. Ruppe <destructionator@gmail.com> ---
What's your plan for things like #include "foo.h" vs #include <foo.h> ? I expect people are more interested in the <stdio.h> than the "stdio.h" variety.

But what about #include<dir/file.h> ?

--
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

Walter Bright <bugzilla@digitalmars.com> changed:

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

--
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
There's no plan for distinguishing between <foo.h> and "foo.h". The only difference between them, anyway, is <foo.h> does not look in the default directory first.

    import dir.file;

--
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

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 #14636 "fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files" fixing this issue:

- fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files

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

--
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

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 #14636 "fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files" was merged into master:

- 8114448e6b4ffe684728463fc2f3fae54a2cfe57 by Walter Bright:
  fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files

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

--
November 13, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

John Hall <john.michael.hall@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.michael.hall@gmail.com

--- Comment #5 from John Hall <john.michael.hall@gmail.com> ---
(In reply to Walter Bright from comment #2)
> There's no plan for distinguishing between <foo.h> and "foo.h". The only difference between them, anyway, is <foo.h> does not look in the default directory first.
> 
>     import dir.file;

I understand that is generally true, but ultimately implementation defined where both of them look, at least according to stack overflow: https://stackoverflow.com/a/3162067

The other difference is that <foo.h> looks for a header and "foo.h" looks for a file. Apparently a header doesn't need to be a file. But I'm not enough of a C expert to know if that matters.

--
December 10, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

--- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #14682 "Revert "fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files"" was merged into master:

- 1bb9184f98bbc0d1862c2ac1a78b0a627b60195c by Iain Buclaw:
  Revert "fix Issue 23479 - ImportC recognizes .i and .c files, but not .h
files (#14636)"

  This reverts commit 94d589fd5460851ebd5af334b677b4522fb57918.

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

--
December 10, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |ibuclaw@gdcproject.org
         Resolution|FIXED                       |---

--- Comment #7 from Iain Buclaw <ibuclaw@gdcproject.org> ---
PR that closed this got reverted.

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

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=23479

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
February 05, 2023
https://issues.dlang.org/show_bug.cgi?id=23479

--- Comment #8 from Dlang Bot <dlang-bot@dlang.rocks> ---
@ibuclaw created dlang/dmd pull request #14864 "reapply fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files" mentioning this issue:

- reapply fix Issue 23479 - ImportC recognizes .i and .c files, but not .h files

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

--
« First   ‹ Prev
1 2