search for: foo_va_list

Displaying 3 results from an estimated 3 matches for "foo_va_list".

2016 Jan 08
2
Is it a va_arg bug in clang?
...g bug in clang? Hello, I'm trying to use the clang3.7 to compile 64bits x86 code with Microsoft ABI in Ubuntu 64bit, but I find the va_arg get the wrong variable argument from the va_list. Below is my test code. #include <stdio.h> #include <stdarg.h> void __attribute__((ms_abi)) Foo_va_list ( int VaNum, const char *Format, ... ) { va_list Marker; long long Value; va_start (Marker, Format); for (int i = 0; i < VaNum; i++ ) { Value = va_arg (Marker,...
2016 Jan 09
2
[cfe-dev] Is it a va_arg bug in clang?
...a_arg bug in clang? Hello, I’m trying to use the clang3.7 to compile 64bits x86 code with Microsoft ABI in Ubuntu 64bit, but I find the va_arg get the wrong variable argument from the va_list. Below is my test code. #include <stdio.h> #include <stdarg.h> void __attribute__((ms_abi)) Foo_va_list ( int VaNum, const char *Format, ... ) { va_list Marker; long long Value; va_start (Marker, Format); for (int i = 0; i < VaNum; i++ ) { Value = va_arg (Marker,...
2016 Jan 10
2
[cfe-dev] Is it a va_arg bug in clang?
...a_arg bug in clang? Hello, I’m trying to use the clang3.7 to compile 64bits x86 code with Microsoft ABI in Ubuntu 64bit, but I find the va_arg get the wrong variable argument from the va_list. Below is my test code. #include <stdio.h> #include <stdarg.h> void __attribute__((ms_abi)) Foo_va_list ( int VaNum, const char *Format, ... ) { va_list Marker; long long Value; va_start (Marker, Format); for (int i = 0; i < VaNum; i++ ) { Value = va_arg (Marker,...