Re: [Circle] [Code] ACMD dec

From: Ron Hensley (ron@cross.dmv.com)
Date: 11/14/96


>    Im missing something stupid here again, but i cant catch what it is.  In
> an ASPELL im declaring ACMD(do_flee); 
> but when im compiling I get this warning:
> 
> spells.c:455: warning: implicit declaration of function `ACMD'
> 

news: {103} % grep ACMD *.h
interpreter.h:#define ACMD(name)  \
news: {104} % 

ACMD Macro is defined in interpreter.h
spells.c does not include interpreter.h
Thus the warning the ACMD Macros has not been forward delcared before its
use by you

    *******************************************************************
    *   Ron Hensley                     ron@dmv.com                   *
    *   Systems Administrator           http://www.dmv.com/~ron       *
    *                                   PGP Key at WWW Page           *
    *   DelMarVa OnLine                 749-7898 Ext. 403             *
    *******************************************************************

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



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