home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!comp.vuw.ac.nz!canterbury.ac.nz!otago.ac.nz!psyxsgp
- Newsgroups: comp.dsp
- Subject: TI TMS320C30 C Compiler
- Message-ID: <1992Sep2.145735.3348@otago.ac.nz>
- From: psyxsgp@otago.ac.nz
- Date: 2 Sep 92 14:57:34 +1300
- Organization: University of Otago, Dunedin, New Zealand
- Lines: 53
-
- Hi,
- I'm trying to compile some TMS320C30 code using TI's
- compiler version 2.10. This does not appear to support function
- prototyping.
-
- In addition it seem to have had difficulty with some typedef statements
-
- I have included some of the errors from the compiler, and the
- corresponding code statements below.
-
- Are these errors due to problems with the TI compiler, or am
- I not recognising some errors in the code.
-
- Also, what is the current state of the TI compiler .. cost
- and availability.Is there an alternative?
-
- Thanks
- Stephen pearce
-
-
- [record.c]
- C Pre-Processor Version 2.10
- (c) Copyright 1987, 1989, Texas Instruments Incorporated
- TMS320C30 C Compiler Version 2.10
- (c) Copyright 1987, 1989, Texas Instruments Incorporated
- "sp.h", line 35: syntax error
- "sp.h", line 36: syntax error
- "sp.h", line 37: syntax error
- **
- 35 >typedef int (* SPProc) {(SP_Ptr pSP)};
- 36 >typedef void (* SPCtrlProc) {(SP_Ptr pSP)};
- 37 >typedef int (* SPResProc) {(SP_Ptr pSP, unsigned long val)};
-
- "record.c": ==> main
- "record.c", line 209: val undefined
- **
- actually do not have any variable called val in main()
-
-
- "record.c", line 368: syntax error
- **
- 368 >void do_rec_play(void){ etc
-
- "record.c", line 368: redeclaration of do_rec_play
- "record.c": ==> do_rec_play
- "record.c": ==> c_int05
- "record.c": ==> c_int06
- "record.c": ==> c_int07
- >> Fatal errors found: no intermediate file produced
- --
- Stephen Pearce, University of Otago, Dunedin, New Zealand.
- ph 064-3-4740999 ext 8166 home 064-3-4763778
-