July 19, 2012 Re: K&R-style variadic functions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Regan Heath | 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 |
Copyright © 1999-2021 by the D Language Foundation