------- Comment #3 from Dave at Yost dot com 2008-07-23 18:33 ------- This feature enables the declaration (via macro) of a variadic function that requires neither an argument containing a count of the number of variadic arguments (which is busywork clutter prone to unchecked error) nor an out-of-band trailing value (which is clutter at best and an impossibility at worst).
#define foo(...) realFoo(__VA_ARGC__, __VA_ARGS__) void realFoo(int argc, ...) { .. } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33877