Re: Compiler Error?

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 09/25/98


At 11:47 AM 9/25/98 +0000, you wrote:
>When compiling olc.c it goes:
>
>olc.c:33: warning: type defaults to `int' in declaration of
>`zedit_setup'
>
>void zedit_disp_arg3(struct descriptor_data *d);
>
>erh? And there I was lost.. Because the line just before says
>void zedit_disp_arg2(struct descriptor_data *d);
>
>Why doesn't this one then give a warning??

Perhaps since the compiler is complaining about zedit_setup(), this
would be a better function to paste the prototype of. This sort of error
is seen when a function is used but not first prototyped to tell the
compiler its return type.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST