Displaying 2 results from an estimated 2 matches for "561a96ab".
2011 May 23
0
[LLVMdev] [cfe-dev] __builtin_va_list different on targets
Thanks for your answer very much.
I wonder for what reason does ARM use *void ** but X86 use *char ** ?
Seems ARM uses void * since its spec said that.
But X86? I cannot find any reason or spec to specify why X86 uses char *,
not void * directly?
Could anyone give me some hints?
Thanks a lot.
2011/5/23 John McCall <rjmccall at apple.com>
> On May 22, 2011, at 8:49 PM, Wenhan Gu wrote:
2011 May 23
1
[LLVMdev] [cfe-dev] __builtin_va_list different on targets
On May 22, 2011, at 8:49 PM, Wenhan Gu wrote:
> I know __builtin_va_list is target-specific, and
> ARM has typedef void* __builtin_va_list;
> X86 has typedef char* __builtin_va_list;
>
>
> It seems they can be treated as the same prototype,i.e.. void*, at the header level.
> What I want to ask is:
>
> If I write a program use "typedef void*