home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / dsp / 2072 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.8 KB  |  63 lines

  1. Path: sparky!uunet!comp.vuw.ac.nz!canterbury.ac.nz!otago.ac.nz!psyxsgp
  2. Newsgroups: comp.dsp
  3. Subject: TI TMS320C30 C Compiler
  4. Message-ID: <1992Sep2.145735.3348@otago.ac.nz>
  5. From: psyxsgp@otago.ac.nz
  6. Date: 2 Sep 92 14:57:34 +1300
  7. Organization: University of Otago, Dunedin, New Zealand
  8. Lines: 53
  9.  
  10. Hi,
  11.     I'm trying to compile some TMS320C30 code using TI's
  12. compiler version 2.10. This does not appear to support function 
  13. prototyping.
  14.  
  15.     In addition it seem to have had difficulty with some typedef statements
  16.  
  17.     I have included some of the errors from the compiler, and the
  18. corresponding code statements below.
  19.  
  20.     Are these errors due to problems with the TI compiler, or am
  21. I not recognising some errors in the code.
  22.  
  23.     Also, what is the current state of the TI compiler .. cost 
  24. and availability.Is there an alternative?
  25.  
  26.     Thanks
  27.     Stephen pearce
  28.  
  29.  
  30. [record.c]
  31. C Pre-Processor             Version 2.10   
  32. (c) Copyright 1987, 1989, Texas Instruments Incorporated 
  33. TMS320C30 C Compiler        Version 2.10   
  34. (c) Copyright 1987, 1989, Texas Instruments Incorporated 
  35. "sp.h", line 35: syntax error
  36. "sp.h", line 36: syntax error
  37. "sp.h", line 37: syntax error
  38. **
  39.  35     >typedef int  (* SPProc)     {(SP_Ptr pSP)};
  40.  36     >typedef void (* SPCtrlProc) {(SP_Ptr pSP)};
  41.  37    >typedef int  (* SPResProc)  {(SP_Ptr pSP, unsigned long val)};
  42.  
  43.    "record.c":  ==> main
  44. "record.c", line 209: val undefined
  45. **
  46. actually do not have any variable called val in main()
  47.  
  48.  
  49. "record.c", line 368: syntax error
  50. **
  51.  368    >void do_rec_play(void){ etc
  52.  
  53. "record.c", line 368: redeclaration of do_rec_play
  54.    "record.c":  ==> do_rec_play
  55.    "record.c":  ==> c_int05
  56.    "record.c":  ==> c_int06
  57.    "record.c":  ==> c_int07
  58. >> Fatal errors found: no intermediate file produced
  59. 
  60. -- 
  61. Stephen Pearce, University of Otago, Dunedin, New Zealand.
  62. ph 064-3-4740999 ext 8166 home 064-3-4763778
  63.