digitalmars.D - Variadic Functions (D1)
- Mathias Laurenz Baumann (29/29) Feb 25 2011 Greetings,
Greetings, I was wondering how exactly one is supposed to write variadic functions = in = D1 now, especially with the new ABI in 64bit? The way the specification says (just using _argptr and _arguments) doesn= 't = seem to yield correct results. Additionally, you seem to have to do it differently for each compiler. = Some using some strange va_* functions. What is the best practice here, keeping cross-compiler compability in mi= nd? Regards, --Marenz -- = Mathias Baumann Research and Development sociomantic labs GmbH M=C3=BCnzstra=C3=9Fe 19 10178 BERLIN DEUTSCHLAND http://www.sociomantic.com Fon: +49 (0)30 5015 4701 Fax: +49 (0)30 2403 6715 Skype: Mathias Baumann (m4renz) ----------------------------------------------------------- sociomantic labs GmbH, Location: Berlin Commercial Register - AG Charlottenburg: HRB 121302 B VAT No. - USt-ID: DE 266262100 Managing Directors: Thomas Nicolai, Thomas Brandhoff
Feb 25 2011