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

From: Torgny Bjers (tb@sbbs.se)
Date: 07/25/00


-----Original Message-----
From: Shay <shay@unique-software.com>
To: CIRCLE@POST.QUEENSU.CA <CIRCLE@POST.QUEENSU.CA>
Date: den 25 juli 2000 01:16
Subject: Re: [CIRCLE] [CODE][NEWBIE] BPL 17 Bundle posted by Del


>>
>>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
>


Hullo Shay,

I didn't get any more errors/warnings than those...  That's all I got when I
compiled, but then the friggin ASCII player file system (or whatever it is)
totally didn't want to cooperate, so I think I am going to stick to my bpl17
with a WORKING Hedit (read, no memory leaks), plus with aedit and OLC2, but
without DG Scripts and Assemblies, which I have decided to hand patch in
just for the hell of it. ;)

Regards,
Torgny Bjers


     +------------------------------------------------------------+
     | 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