Re: [CODE][NEWBIE] BPL 17 Bundle posted by Del

From: Shay (shay@unique-software.com)
Date: 07/24/00


>
>Spite the fact that I am a Windows user, on my own and all, someone might
>know why this occurs when I compile in MSDEV 97 (C++ 5.0):
>
>diskio.c
>diskio.c(144) : error C2039: '_fileno' : is not a member of '_iobuf'
>diskio.c(144) : warning C4047: 'function' : 'int ' differs in levels of
>indirection from 'struct stat *'
>diskio.c(144) : warning C4024: 'fstat' : different types for formal and
>actual parameter 1
>diskio.c(144) : error C2198: 'fstat' : too few actual parameters
>diskio.c(324) : error C2039: '_fileno' : is not a member of '_iobuf'
>diskio.c(324) : warning C4047: 'function' : 'int ' differs in levels of
>indirection from 'struct stat *'
>diskio.c(324) : warning C4024: 'fstat' : different types for formal and
>actual parameter 1
>diskio.c(324) : error C2198: 'fstat' : too few actual parameters

replace fl->fileno with fileno(fl)
and fromfile->fileno with fileno(fromfile)
or something like that..  sould work for ya...

Did you get as many warnings as I did? I compiled using BC++, and got like,
oh, a billion i spose.. ;)  If anyone wants the MAKEFILE.BCC, just ask, mine
works just fine.

As for the game itself, mine crashes, mem or something, but im running win2000.
Ill just do it the old fashion way i guess..

Shay aka Gothic Knight


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT