求助:ANSYS的UPFS编译的又一个错误
在编译UPFS的一个用户程序时,在c_comp.log文件中,有“ANSZIP.CANSZIP.C(21) : warning C4028: 形参 1 与声明不同”这样的错误提示。如何解决?望高人指点。谢谢!
ANSZIP.C的具体代码如下:
/*CFILE anszip.c ANSI_C <author, 2/12/98> */
/*---------------------------------------------------------------------*/
/* copyright(c) 2006 SAS IP, Inc. All rights reserved. */
/* ansys, inc. */
#include <stdio.h>
#include <stdlib.h>
#include "ansys.h"
#if defined(PCWINNT_SYS)
#include "windows.h"
#endif
#include "uisysh.h"
static INT is_start = 0;
#if !defined(PCWINNT_SYS)
extern void anszzz_(INT*);
extern void icmdan_(INT*,INT*);
extern void ansgui_(INT*,INT*,INT*);
extern void ansend_();
extern void ender_(INT*);
#else
extern void CALLTYP ender_(INT *);
#endif
extern INT ansjmp_();
void
anszip(void)
{
anszzz_(&is_start);
/* is_start = *n; */
}
void
anscmd(char *ccmd)
{
INT iicmd[81], i, do_end, key;
static char *fini_cmd = {"FINI"};
char *c_ptr;
INT ijmp;
ijmp = 0;
ijmp = ansjmp_();
if (ijmp != 0)
{
is_start = 0;
return;
}
if (!is_start) return;
if ((ccmd[0]=='/') && (ccmd[1]=='E') && (ccmd[2]=='X') && (ccmd[3]=='I'))
{
do_end = 1;
c_ptr = fini_cmd;
}
else
{
do_end = 0;
c_ptr = ccmd;
}
for (i=0;(c_ptr!='\0' && i<80);i++)
{
iicmd = (INT)c_ptr;
}
key = 0;
ansgui_(&i,iicmd,&key);
if (key != 1) icmdan_(&i,iicmd);
if (do_end)
{
key = 0;
ender_(&key);
ansend_();
is_start = 0;
}
}
void
anscmdCl(int InStringSz,char **InString)
{
anscmd(*InString);
}