December 18, 2020 [Issue 21487] New: ModuleInfo not found when compiling with -lib and -betterC | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: maxsamukha@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. -- |
Copyright © 1999-2021 by the D Language Foundation