Re:F() vs. F(void) in C vs. C++
by chappar on Monday May 13, 2019 @12:17AM
(#19896396)
Can't you do that already with f(...)?
[ Parent
| on HN ]
Re:F() vs. F(void) in C vs. C++
by quietbritishjim on Monday May 13, 2019 @04:57AM
(#19897309)
As other comments have noted:
varargs functions require at least one non-vararg parameter.
(As int_19h said:) 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 (...).