September 21, 2022 [Issue 23356] New: ImportC, forward referenced static functions, and -lib | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=23356 Issue ID: 23356 Summary: ImportC, forward referenced static functions, and -lib Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: bugzilla@digitalmars.com Supplement to https://issues.dlang.org/show_bug.cgi?id=22537 static int func(); int main() { return func(); } static int func() { return 0; } Compiling: dmd file.c -lib Error: no definition for static func Introduced by: bisected it to https://github.com/dlang/dmd/pull/13846 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply