Hello gang, I am currently compiling a simple C program with 3 functions...main() and two simple printf routines. My problem is, when I compile using the CC65 dos compiler and specify this command line: cc65 --target c128 myfile.c I get the error of "function call without prototype" and the program does NOT generate a "PRG" file (at least i cant see one.) Only the myfile.s and myfile.c are there in the directory. There should be a file with no file type, which is the PRG if I remember correctly from an older compiling of another program. It is my novice understanding of C that you can create functions which do not return values without any sort of declaration/prototype/struct. Am I wrong on this, or is the cc65 need some special work around? I have successfully compiled this same program on my borland c++ compiler, although it does also warn me that my functions have no prototype. But it does run the program fine. What is the proper way to declare new functions, even ones that don't return a value? any help much appreciated! and sorry I am so much a novice at C!! Tom M. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Jul 26 13:04:54 2004
This archive was generated by hypermail 2.1.8 : 2004-07-26 13:05:03 CEST