__ms_va_list and NULL
Alexandre Julliard
julliard at winehq.org
Tue May 10 16:20:52 CDT 2011
Piotr Caban <piotr at codeweavers.com> writes:
> On 05/10/11 20:02, André Hentschel wrote:
>> Hi Piotr and folks,
>> Most ARM crosscompilers (can't test with a native ARM one right now) don't like using NULL for a va_list and i'm not the only one seeing this issue.
>> Piotr, i think that's your code, so maybe you can tell if it needs to be tuned or if that is a bug in the compiler (as the normal x86(_64) gcc works here).
>> I hacked around that issue and attached the patch for documentation purpose, at least it compiles fine, don't know if it runs.
> I don't know if it's a compiler fault or the code is faulty.
The code is faulty. You either need to pass a proper va_list, or make
the function take a pointer instead.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list