Thread overview
[Issue 23547] [REG master] C header files have precedent over D modules in imports
[Issue 23547] [REG master] C header files have precedent over D modules
Dec 10, 2022
Iain Buclaw
Dec 10, 2022
Iain Buclaw
Dec 10, 2022
Iain Buclaw
Dec 10, 2022
Iain Buclaw
Dec 10, 2022
Iain Buclaw
[Issue 23547] [REG 2.101-master] C header files have precedent over D modules in imports
Dec 18, 2022
Iain Buclaw
Dec 30, 2022
Iain Buclaw
Jan 10, 2023
Walter Bright
December 10, 2022
https://issues.dlang.org/show_bug.cgi?id=23547

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw@gdcproject.org

--- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> ---
Caused by fix for issue 23479

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

--- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> ---
https://github.com/dlang/dmd/pull/14636

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC, rejects-valid,
                   |                            |wrong-code

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

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

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[REG master] C header files |[REG master] C header files
                   |have precedent over D       |have precedent over D
                   |modules                     |modules in imports

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[REG master] C header files |[REG 2.101-master] C header
                   |have precedent over D       |files have precedent over D
                   |modules in imports          |modules in imports

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

--- Comment #3 from Iain Buclaw <ibuclaw@gdcproject.org> ---
*** Issue 23548 has been marked as a duplicate of this issue. ***

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

Walter Bright <bugzilla@digitalmars.com> changed:

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

--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> ---
The config.h file is found first because config.h appears before config.d in the import search path.

If config.h and config.d were in the same directory, the .d file would take precedence.

--