va_list and char* are ambiguous

Kai Tietz ktietz70@googlemail.com
Mon Mar 3 12:47:00 GMT 2014


Hi,

cygwin64 shares for 64-bit the ABI of Windows native.  This is caused
by different reasons (eg. unwind-table description for prologue, etc).
So for Windows targets va_list is indeed of 'char *' type.  And this
is ok.  The variant of x86_64 abi, which uses indeed a
structure-variant for variadic-arguments plus some call-abi
extensions, isn't recommented for on Windows.  If your linux code
relies on structure-variadic x86_64-ABI, it seems to me broken, and
needs to be ported.

Hope this answers your question.

Regards,
Kai

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list