Re: [NEWBIE]: Compiling under MSVC 5

From: AGENT ORANGE (agentorange@HOME.COM)
Date: 04/18/98


try this,
add #define HAVE_SYS_STAT_H to conf.h


irotsoma wrote:
>
> I'm trying to compile unmodified code under Microsoft Visual C++ 5.0 and
> keep getting the following:
>
> act.other.c(728) : error C2079: 'fbuf' uses undefined struct 'stat'
> act.other.c(768) : error C2224: left of '.st_size' must have struct/union
> type
> NMAKE : fatal error U1077: 'F:\DEVSTU~1\VC\BIN\cl.exe' : return code '0x2'
> Stop.
>
> Anyone ever get this error?
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST