I don't have an msvc-ready copy at the moment, nor do I have any
experience with this particular snippet, but all of the problems seem
to stem from the fact that wiz_list isn't defined.  I notice your
wizlist.c is 2 lines shorter than the snippet's, so make sure you
didn't delete this particular line near the top:

WIZ_DATA *wiz_list;

--Palrich.

On 9/4/05, Charles Gray <[EMAIL PROTECTED]> wrote:
> Ok, using msvc, I've added the wizlist snipped found
> on mudmagic.com, i get these errors...
> 
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(84) :
> error C2065: 'wiz_list' : undeclared identifier
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(84) :
> warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(122)
> : warning C4047: '==' : 'int ' differs in levels of
> indirection from 'void *'
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(123)
> : warning C4047: '=' : 'int ' differs in levels of
> indirection from 'struct wiz_data *'
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(206)
> : warning C4047: '==' : 'int ' differs in levels of
> indirection from 'void *'
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(227)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(251)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(334)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(339)
> : error C2223: left of '->next' must point to
> struct/union
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(354)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(355)
> : warning C4047: '=' : 'int ' differs in levels of
> indirection from 'struct wiz_data *'
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(388)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(393)
> : error C2223: left of '->next' must point to
> struct/union
> C:\Documents and
> Settings\ShadowFangs\Desktop\Rom24\src\wizlist.c(406)
> : warning C4047: '=' : 'struct wiz_data *' differs in
> levels of indirection from 'int '
> 
> 
> I dont understand why this is happening, but if anyone
> has any direction please let me know :-p

Reply via email to