Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!kbesrl From: kbesrl@ux1.cso.uiuc.edu Newsgroups: comp.unix.ultrix Subject: Need help with "C" errors Message-ID: <22100017@ux1.cso.uiuc.edu> Date: 28 Sep 90 17:37:00 GMT Lines: 35 Nf-ID: #N:ux1.cso.uiuc.edu:22100017:000:939 Nf-From: ux1.cso.uiuc.edu!kbesrl Sep 28 12:37:00 1990 Hello, I am trying to compile the fillowing piece of code (part of a larger file from GNU distribution) on RISC/Ultrix (DECstation 3100) and I get the following error. I would really appreciate if someone could help me out. Thanks. -- sudhakar sudha@kbesrl.me.uiuc.edu CODE: ----- Lisp_Object FormatIntegerProperty(buff,count,format) VOID *buff; unsigned long count; int format; { switch (format) { case 8 : return FormatInteger8Property((char *)buff,count); case 16 : return FormatInteger16Property((int16 *)buff,count); case 32 : return FormatInteger32Property((long *)buff,count); default : return Qnil; } } ERROR: ------ ccom: Error: property.c, line 128: buff undefined case 8 : return FormatInteger8Property((char *)buff,count); -------------------------------------------------------^ (ccom): property.c, line 130: cannot recover from earlier errors: goodbye! }