Hello, I'm attempting to build the expr~ external on my win machine and i'm getting errors from nmake:
cl /W3 /WX /DNT /DPD /nologo /I. /I..\tcl\include /I\pd_35\pd\src
/I"C:\Program Files\Microsoft Visual Studio\Vc98"\include /c vexp_fun.c vexp_fun.c vexp_fun.c(374) : error C2220: warning treated as error - no object file generated vexp_fun.c(374) : warning C4003: not enough actual parameters for macro 'FUNC_EVAL' vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2146: syntax error : missing ')' before identifier 'left' vexp_fun.c(374) : error C2440: 'type cast' : cannot convert from 'struct ex_ex *' to 'float ' vexp_fun.c(374) : error C2181: illegal else without matching if vexp_fun.c(374) : error C2143: syntax error : missing ';' before '->' vexp_fun.c(374) : error C2143: syntax error : missing ';' before '->' vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2146: syntax error : missing ')' before identifier 'left' vexp_fun.c(374) : error C2440: 'type cast' : cannot convert from 'struct ex_ex *' to 'float ' vexp_fun.c(374) : error C2181: illegal else without matching if vexp_fun.c(374) : error C2143: syntax error : missing ';' before '->' vexp_fun.c(374) : error C2143: syntax error : missing ';' before '->' vexp_fun.c(374) : error C2043: illegal break vexp_fun.c(374) : error C2046: illegal case vexp_fun.c(374) : error C2046: illegal case vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2059: syntax error : '}' vexp_fun.c(374) : error C2065: 'right' : undeclared identifier vexp_fun.c(374) : error C2223: left of '->ex_cont' must point to struct/union vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2065: 'e' : undeclared identifier vexp_fun.c(374) : error C2223: left of '->exp_vsize' must point to struct/union vexp_fun.c(374) : error C2059: syntax error : 'while' vexp_fun.c(374) : error C2059: syntax error : 'break' vexp_fun.c(374) : error C2059: syntax error : 'case' vexp_fun.c(374) : error C2059: syntax error : '}' vexp_fun.c(374) : error C2059: syntax error : 'case' vexp_fun.c(374) : error C2059: syntax error : 'break' vexp_fun.c(374) : error C2059: syntax error : 'case' vexp_fun.c(374) : error C2374: 'op' : redefinition; multiple initialization vexp_fun.c(374) : see declaration of 'op' vexp_fun.c(374) : error C2059: syntax error : '->' vexp_fun.c(374) : error C2065: 'left' : undeclared identifier vexp_fun.c(374) : error C2223: left of '->ex_cont' must point to struct/union vexp_fun.c(374) : error C2059: syntax error : 'switch' vexp_fun.c(374) : error C2059: syntax error : 'break' vexp_fun.c(374) : error C2059: syntax error : 'case' vexp_fun.c(374) : error C2059: syntax error : '}' vexp_fun.c(375) : error C2059: syntax error : '}' vexp_fun.c(395) : warning C4003: not enough actual parameters for macro 'FUNC_EVAL'
All the errors are pointing at this line in vexp_fun.c FUNC_EVAL(left, right, min, /**/, /**/, optr);
Anybody know how i can fix this, or where i have gone wrong?
Thanks, Mark .k