News for hackers. Stuff that matters.
Re:F() vs. F(void) in C vs. C++ by userbinator on Sunday May 12, 2019 @10:09PM (#19895943)
There's already the "..." token to signify a variadic function, which is effectively what "takes parameters that you can't list" means, although I believe it's currently defined only for at least one non-variadic argument.
Re:F() vs. F(void) in C vs. C++ by int_19h on Sunday May 12, 2019 @10:35PM (#19896046)
Furthermore, on some architectures, vararg functions have their own distinct ABI, so (...) as a declaration is not compatible with any definition that doesn't also use (...).