Variadic Functions (D1)
Mathias Laurenz Baumann
mathias.baumann at sociomantic.com
Fri Feb 25 08:47:23 PST 2011
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 mind?
Regards,
--Marenz
--
Mathias Baumann
Research and Development
sociomantic labs GmbH
Münzstraße 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
More information about the Digitalmars-d
mailing list