criando va_list dinamicamente no GCC - pode ser feito?

meu problema comvsprintf é que eu não posso obter argumentos de entrada diretamente, eu tenho que primeiro obter insumos um por um e salvá-los emvoid**, então passe issovoid** paravsprintf(), está tudo bem para windows, mas quando chego ao 64bit linux, o gcc não pode compilar porque não é permitido converter devoid** parava_listExiste alguém que pode me dar alguma ajuda como eu deveria fazer isso no Linux?

Posso criar va_list dinamicamente no GCC?

void getInputArgs(char* str, char* format, ...)
{
    va_list args;
    va_start(args, format);
    vsprintf(str, format, args);
    va_end(args);
}  

void process(void)
{
    char s[256];
    double tempValue;
    char * tempString = NULL;
    void ** args_ptr = NULL;
    ArgFormatType format;   //defined in the lib I used in the code
    int numOfArgs = GetNumInputArgs();  // library func used in my code

    if(numOfArgs>1)
    {
        args_ptr = (void**) malloc(sizeof(char)*(numOfArgs-1));
        for(i=2; i<numOfArgs; i++)
        {
            format = GetArgType();    //library funcs

            switch(format)
            {
                case ArgType_double:
                    CopyInDoubleArg(i, TRUE, &tempValue);   //lib func
                    args_ptr[i-2] = (void*) (int)tempValue;    
                    break;

                case ArgType_char:
                    args_ptr[i-2]=NULL;
                    AllocInCharArg(i, TRUE, &tempString);  //lib func
                    args_ptr[i-2]= tempString;
                break;
            }
        }
    }

    getInputArgs(s, formatString, (va_list) args_ptr);   //Here 
           // is the location where gcc cannot compile, 
           // Can I and how if I can create a va_list myself?
}

questionAnswers(4)

yourAnswerToTheQuestion