View mode: basic / threaded / horizontal-split · Log in · Help
July 19, 2012
Re: K&R-style variadic functions
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
Next ›   Last »
1 2 3 4 5
Top | Discussion index | About this forum | D home