https://issues.dlang.org/show_bug.cgi?id=22961
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Dlang Bot <[email protected]> --- @MoonlightSentinel created dlang/dmd pull request #13927 "Fix 22961 - Don't reject valid K&R main's in C files" fixing this issue: - Fix 22961 - Don't reject valid K&R main's in C files K&R functions are implicitly variadic and hence triggered the error if the declaration actually specified parameters (even if when their types are correct). This patch changes the check s.t. it allows implicitly variadic K&R functions in C files but still reports an error for explicit `...`. https://github.com/dlang/dmd/pull/13927 --
