Re: new error when compiling

Re: new error when compiling



It compiles under MSVC++6.0 as well, with a few tweaks. If anyone needs a
description, email me.

Ghost

----- Original Message -----
From: Critt <critt@gci.net>
To: Xerves <xerves@soltec.net>; Dave <down@townsqr.com>
Cc: <smaug@realms.game.org>
Sent: Friday, December 31, 1999 4:20 PM
Subject: RE: new error when compiling


> make sure you're saving it in unix format.. cygwin may be a win32 port of
> the cygnus gnu compilers, but its also run in a win32 BASH port, which is
> still kinda sorta unix.. all the files you've modified need to be saved in
> unix format.
>
> I know 1.4a is compilable in cygwin's compiler, as well as MSVC++ 5.0, cuz
> I've done both.
>
> Critt
> ---
> CSRC is available at: http://www.vikingassociates.com/src
>
> -----Original Message-----
> From: Xerves [mailto:xerves@soltec.net]
> Sent: Friday, December 31, 1999 11:10 AM
> To: Dave
> Cc: smaug@realms.game.org
> Subject: Re: new error when compiling
>
>
> Hmm, I don't remember the exact instructions for setting up for cygwin,
but
> if
> you are getting errors with those lines, you did something wrong.
>
> Dave wrote:
>
> > well here is the lines 28 through 33. no commas or any {} that i can
see.
> > *shrug* got any other ideas maybe?
> >
> > 28     #define timerclear(tvp)         (tvp)->tv_sec = (tvp)->tv_usec =
0
> > 29    #define timerisset(tvp)         ((tvp)->tv_sec || (tvp)->tv_usec)
> > 30     #define timercmp(tvp, uvp, cmp)                                 \
> > 31             (((tvp)->tv_sec == (uvp)->tv_sec) ?                     \
> > 32             ((tvp)->tv_usec cmp (uvp)->tv_usec) :               \
> > 33             ((tvp)->tv_sec cmp (uvp)->tv_sec))
> >
> > Thanks,
> > Dave
> >
> > The Gates of Faerun MUD
> > http://alpha.thewolvesden.net/aeumor/
> >
> > ----- Original Message -----
> > From: Xerves <xerves@soltec.net>
> > To: Dave <down@townsqr.com>
> > Cc: <smaug@realms.game.org>
> > Sent: Friday, December 31, 1999 1:44 PM
> > Subject: Re: new error when compiling
> >
> > > somewhere in interp.c (probably around line 31) you have a parse error
> > > before a ->
> > >
> > > Probably a { } or a comma or something.  Typically, if you get a lot
of
> > > out put like that, the error is either on the first line posted or
above
> > > it a bit.
> > >
> > > Dave wrote:
> > >
> > > > new error when compiling, can anyone help me with this one?
> > > >
> > > > interp.c:31: parse error before `->'
> > > > interp.c:31: stray '\' in program
> > > > interp.c:32: stray '\' in program
> > > > interp.c: In function `interpret':
> > > > interp.c:500: warning: implicit declaration of function
`refresh_page'
> > > > interp.c: In function `update_userec':
> > > > interp.c:1198: stray '\' in program
> > > > interp.c:1198: parse error before `)'
> > > > interp.c: At top level:
> > > > interp.c:1203: parse error before `if'
> > > > interp.c:1204: stray '\' in program
> > > > make[1]: *** [interp.o] Error 1
> > > >
> > > > Thanks,
> > > > Dave
> > > >
> > > > The Gates of Faerun MUD
> > > > http://alpha.thewolvesden.net/aeumor/
> > >
> > > --
> > >
> > >
> > > --Xerves
> > >
> > > Xerves is the coder/admin/owner of Rafermand
> > > ---------------------------------------------------------------
> > > Rafermand - stormbringer.sysconn.com:3002
> > > Website -   http://www.soltec.com/~mhalls/rafermand
> > > Email -     xerves@soltec.net
> > > ---------------------------------------------------------------
> > >
> > >
>
> --
>
>
> --Xerves
>
> Xerves is the coder/admin/owner of Rafermand
> ---------------------------------------------------------------
> Rafermand - stormbringer.sysconn.com:3002
> Website -   http://www.soltec.com/~mhalls/rafermand
> Email -     xerves@soltec.net
> ---------------------------------------------------------------
>
>
>

__________________________________________
NetZero - Defenders of the Free World
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html