search for: vanum

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

Did you mean: varnum
2016 Jan 08
2
Is it a va_arg bug in clang?
...e 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, int);...
2016 Jan 09
2
[cfe-dev] Is it a va_arg bug in clang?
...e 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, int);...
2016 Jan 10
2
[cfe-dev] Is it a va_arg bug in clang?
...e 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, int);...