K&R-style variadic functions

Jacob Carlborg doob at me.com
Thu Jul 19 04:48:23 PDT 2012


On 2012-07-19 11:38, Regan Heath wrote:
asn't ware that was valid ANSI C, perhaps it's a GCC/clang
> feature?  Can anyone find docs on it?

Note that it only works when compiling as C++. Perhaps it works like this:

If C++ is interpreting this:

void foo ();

As:

void foo (void);

Perhaps it will interpret:

void foo (...);

As C would interpret this:

void foo ();

-- 
/Jacob Carlborg




More information about the Digitalmars-d mailing list