Path: utzoo!yunexus!mike From: mike@yunexus.yorku.ca (Mike Marques) Newsgroups: comp.sys.mips Subject: Problems with C RISCompiler Message-ID:Date: 17 Aug 89 15:39:22 GMT Article-I.D.: yunexus.MIKE.89Aug17113922 Sender: news@yunexus.UUCP Distribution: comp Organization: York Computing Services Lines: 34 Greetings... The following C program compiles with the following error messages: extern int fred(); test(arg1, arg2) void *arg1, *arg2; { fred(arg1, arg2); } ccom: Error: /tmp/test.c, line 6: arg1 undefined fred(arg1, arg2); -------------^ ccom: Error: /tmp/test.c, line 6: arg2 undefined fred(arg1, arg2); -------------------^ (ccom): /tmp/test.c, line 6: cannot recover from earlier errors: goodbye! } ^ RICSCompiler C 2.0, RISC/os 4.0. This program compiles with no problems on a Sun using the standard C compiler and using the GNU C compiler. The MIPS RISCompiler porting guide does not mention any problems with void. What gives? Mike -- Mike Marques | Usenet: ......!utzoo!yunexus!mike York University (Computing Services) | mike@nexus.yorku.ca -------------------------------------| Bitnet: mike@libra.yorku.ca Only visiting this planet... | Voice: (416) 736-5257