https://issues.dlang.org/show_bug.cgi?id=22961
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <[email protected]> --- dlang/dmd pull request #13927 "Fix 22961 - Don't reject valid K&R main's in C files" was merged into master: - 9c367327d706b1ba4708b395f97a37bd4ab22d3b by MoonlightSentinel: 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 --
