{
va_list TheArgs;
-#ifdef __GNUC_VA_LIST
va_copy(TheArgs, *Arguments);
-#else // __GNUC_VA_LIST
- TheArgs = *Arguments;
-#endif // __GNUC_VA_LIST else
UINT i = 0;
for ( ; i < Index; i++ )
{
else
{
va_list TheArgs;
-#ifdef __GNUC_VA_LIST
va_copy(TheArgs, *Arguments);
-#else // __GNUC_VA_LIST
- TheArgs = *Arguments;
-#endif // __GNUC_VA_LIST else
UINT i = 0;
for ( ; i < Index; i++ )
{
}
if (!suppress) {
-#ifdef __GNUC_VA_LIST
va_copy(arglistsave, arglist);
-#else
- arglistsave = arglist;
-#endif
pointer = va_arg(arglist,void *);
} else {
pointer = NULL; // doesn't matter what value we use here - we're only using it as a flag
#ifdef _SECURE_SCANF
if(!suppress && (comchr == _T('c') || comchr == _T('s') || comchr == LEFT_BRACKET)) {
-#ifdef __GNUC_VA_LIST
va_copy(arglist, arglistsave);
-#else
- arglist = arglistsave;
-#endif
/* Reinitialize pointer to point to the array to which we write the input */
pointer = va_arg(arglist, void*);
-#ifdef __GNUC_VA_LIST
va_copy(arglistsave, arglist);
-#else
- arglistsave = arglist;
-#endif
/* Get the next argument - size of the array in characters */
#ifdef _WIN64
match--; /* % found, compensate for inc below */
if (!suppress)
-#ifdef __GNUC_VA_LIST
va_copy(arglist, arglistsave);
-#else
- arglist = arglistsave;
-#endif
} /* SWITCH */