This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: va_list and char* are ambiguous


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]