> > I'm getting warnings similar to this one a lot: > > __assert(( victim ), "victim", __FILE__, __LINE__) ; > magic.c 1063 Warning 88: argument type incorrect > Expecting "int", found "struct char_data *" > > all over magic.c.. what does the assert() function do anyway? > > All assert does is check to see if its argument, victim in your case, evaluates to 0 or NULL and if so abort the program. Generally assert() is used for debugging. Compiling if the -DNDEBUG flag is supposed to ignore all assert calls. As for your error message, I have never seen it b4 :) -reni
This archive was generated by hypermail 2b30 : 12/07/00 PST