Hello,

I'd search the archive for this problem, but it seems that the Postgre
server used for the search is down, so I'll post my problem here in hopes
that someone knows what I missed.

I just installed Ammaross's unlimited bit system, got everything needed
converted over, and everything seems to work fine. However, during
compile, I have one warning that I just can't seem to get rid of or figure
out, and I'd rather have a nice clean compile instead of any warnings or
errors before moving the code over to the active port.

Here's what I'm getting:
olc.h:110: warning: `struct flag_type' declared inside parameter list
olc.h:110: warning: its scope is only this definition or declaration,
which is probably not what you want.
olc.h:111: warning: `struct flag_type' declared inside parameter list

Olc.h:110 & 111:
char *  str_flag_string         args( ( const struct flag_type
*flag_table, FLAG *bits ) );
int     str_flag_value          args( ( const struct flag_type
*flag_table, char *argument ) );

Functions in bitsys.c (I can post actual code if really needed, but I
haven't changed those two functions at all):
char *str_flag_string( const struct flag_type *flag_table, FLAG *bits )
int str_flag_value( const struct flag_type *flag_table, char *argument )


I can't figure out why I'm getting the error on those two, while they work
in other places, like flag_string().
char *flag_string args( ( const struct flag_type *flag_table, int bits )
);

Any help on this would be greatly appreciated. Hopefully it's not just a
sign trying to tell me that 11 hours of coding is enough for one day.


RD -- AKA: Brainfried!!!

P.S. Also, for anyone else installing this, or who has installed this, in
bitsys.c in do_flag(), under "if (!str_prefix(arg3,"act"))" is:
do_flag_norm( ch, victim, argument, type, &victim->form, form_flags );

That should be "&victim->act, act_flags" instead.. same thing right below
it, too.

---
RogueDragon @ A Merging of Fates MUD
telnet://mud.merging.org:5454
icq: 2072355 (inactive atm), yim: roguedragon, aim: roguedragon69
---
Windows - Where do you want to go today?
Linux   - Where do you want to go tomorrow?
FreeBSD - When are they going to catch up?


Reply via email to