lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV strange warning with version 0.98


From: Larry W. Virden, x2487
Subject: Re: LYNX-DEV strange warning with version 0.98
Date: Sat, 6 Dec 1997 04:37:04 -0500

yes, I hand edited a #define before the #ifndef, which is valid C.  It
would only cause a problem if userdefs.h is being #include'd within
userdefs.h itself or the guard variable is being undef'd.  If either of
these are happening, there's other possible problems.

"T.E.Dickey" <address@hidden>
> 
> > 
> > > series of comments
> > > :
> > > #define LYNX_CFG_FILE "/projects/sprs_lwv/lib/lynx/lynx.cfg"
> I believe this was hand-edited
> 
> > > #ifndef LYNX_CFG_FILE
> > > #ifdef DOSPATH
> > > #define LYNX_CFG_FILE "./lynx.cfg"
> > > #else
> > > #define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg"
> > > #endif /* DOSPATH */
> > > #endif /* LYNX_CFG_FILE */
> > 
> > Isn't the third line quoted above spurious?
> > 
> > I'd recommend:
> >  * mailcap files (see the examples in the samples directory).
> >  */
> > #ifndef LYNX_CFG_FILE
> > #ifdef DOSPATH
> > #define LYNX_CFG_FILE "./lynx.cfg"
> > #else
> > #define LYNX_CFG_FILE "/projects/sprs_lwv/lib/lynx/lynx.cfg"
> > #endif /* DOSPATH */
> > #endif /* LYNX_CFG_FILE */
-- 
Larry W. Virden                 INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]