CompuServe Thread

#C Help

2 messages in this thread
#41701From: George S. RolandJul 5, 1994 10:34 PM
I am writing some programs to learn C with Lattice 6.50 compiler. In writing some elementary procedures and functions, my programs compile and run but I am getting a cascade of warnings numbered 85, 100 and 161. They all "expect" some prototype I'm not giving them. I think some expect "void" but get "int" which produces the warnings. I've looked through the SAS C documentation and my C programming book, but I don't understand what they say. Can someone help? Thanks, George.
#41751From: Derek ParnellJul 8, 1994 9:27 AM
Hi George, if you suspect that the compiler is not getting some prototypes, then make sure that you have #include'd the appropriate header files. The header files usually supply the prototypes. Could you give me an example of a function that is causing the warning messages? —Derek [from Melbourne using Golden Compass]