[Issue 23547] [REG 2.101-master] C header files have precedent over D modules in imports

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 10 06:07:36 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23547

Walter Bright <bugzilla at digitalmars.com> changed:

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

--- Comment #4 from Walter Bright <bugzilla at 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.

--


More information about the Digitalmars-d-bugs mailing list