[Issue 15071] filenames and module names with case-insensitive HFS+

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 18 12:17:19 PDT 2015


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #6 from ag0aep6g at gmail.com ---
(In reply to John Colvin from comment #2)
> I don't expect it to work, but I do expect it to fail with a clear error
> message before link-time.

Do you have a suggestion on how that should be realized?

Module chirplet asks for module mathutil, so the compiler gets it. Then a
different module mathUtil is compiled as is requested on the command line.
Module mathutil has never been compiled and is missing when linking.

I see one way to catch this earlier: dmd could require lower-case file names
and/or module names. But I'm not sure if this issue is worth the disruption
that would cause. Personally, I wouldn't mind it, though.

--


More information about the Digitalmars-d-bugs mailing list