Re: Warning question... (again!)

From: Daniel A. Koepke (dkoepke@california.com)
Date: 12/28/99


On Tue, 28 Dec 1999, J P wrote:

> auction.c(21) : warning C4029: declared formal parameter list different from
> definition

Search for "auction_output" in the code and make sure that all calls and
prototypes match the new definitions.  I don't use MSVC, so whether or not
it points you to a useful place to look (it says the error is at line 21
of auction.c) is beyond me.  Anyway, you'll be looking for situations like
this,

    void foobar(char *baz, int boo);

    void foobar(char *baz)
    {
        .
        .
        .
    }

Note that the prototype/declaration (the first line) does not match the
definition's (the actual function block's) parameter list.

-dak


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



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