[cfe-dev] __builtin_va_list different on targets
Wenhan Gu
nowar100 at gmail.com
Sun May 22 20:49:45 PDT 2011
Hi all,
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** __builtin_va_list" on X86, and run
it.
Would I face any problem on run-time?
I think it won't make any trouble. But I'm not very sure.
Should anyone have similar experience?
Thanks a lot.
--
Best regards,
Wen-Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110523/fa7c3c4d/attachment.html>
More information about the cfe-dev
mailing list