March 06, 2020 [Issue 20643] New: printf without arguments aborts compilation | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20643 Issue ID: 20643 Summary: printf without arguments aborts compilation Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: moonlightsentinel@disroot.org DMD correctly reports the missing arguments but aborts compilation because of an "unknown error": ------------------------ extern(C) int printf(const char*, ...); shared static ~this() { printf("count = %lu\n"); } ------------------------- test.d(5): Deprecation: more format specifiers than 0 arguments Error: unknown, please file report on issues.dlang.org -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply