[Issue 21487] New: ModuleInfo not found when compiling with -lib and -betterC
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 18 12:31:58 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21487
Issue ID: 21487
Summary: ModuleInfo not found when compiling with -lib and
-betterC
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Keywords: betterC, rejects-valid
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: maxsamukha at gmail.com
object.d:
---
module object;
// struct ModuleInfo; // (1)
unittest {
}
---
dmd -lib -betterC -unittest object.d
Error: ModuleInfo not found. object.d may be incorrectly installed or corrupt
ModuleInfo should not be required. Uncomment (1) to work around.
--
More information about the Digitalmars-d-bugs
mailing list