当我们把所有的变量定义移动到函数体上面,如下;然后进行编译,上面出现的问题解决了:

Fi_120015_01_CICUSENA()
{
        char acRegFlg[2];
        char Name[71];
        int len = 0,i=0;

        GetStr("K_C00101",acRegFlg);
        Trim(acRegFlg);
        /*非记名卡跳过 */
        if(acRegFlg[0]=='0')
        {
             return SKIP;
        }

        /*判断输入的姓名是否为拼音*/
        GetStr("CICUSENA",Name);

        /*取数组长度*/
        len = strlen(Name);

        for(i = 0; i < len; i++)
        {
             if(!((Name[i]>'A' && Name[i]<'Z') || (Name[i]>'a' && Name[i]<'z')))
             {
                    v_warning(0,"请输入姓名对应的拼音");
                    return INVALID;
             }
        }
       return 0;
}