lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev problem with lynx 2.8.3dev.7


From: Klaus Weide
Subject: Re: lynx-dev problem with lynx 2.8.3dev.7
Date: Thu, 26 Aug 1999 11:20:14 -0500 (CDT)

[ Sorry for previous half-finished message... ]

On Thu, 26 Aug 1999, Larry W. Virden wrote:

> When I attempt to build this version of lynx, I get this error:
> 
> cc -DHAVE_CONFIG_H -I/ldatae/include 
> -I/projects/gnu/sparc-sun-solaris2.6/include 
> -DLOCALEDIR=\"/projects/intranet/share/locale\" -I. -I.. -Ichrtrans 
> -I/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/src/chrtrans 
> -I/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3 
> -I/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/src 
> -I/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/WWW/Library/Implementation 
> -I/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/intl  -Xc  -c 
> /home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/src/LYOptions.c
> "/home/lwv26/i/src/Unix/lynx/t/lynx2-8-3/src/LYOptions.c", line 915: warning: 
> a cast does not yield an lvalue

It seems to be just a warning, not an error.  There were warnings of some
kind (with gcc) in LYOptions.c earlier, before the assume_list change, so
I wouldn't worry too much about it.  Maybe the warning goes away by replacing 
FREE with free.

> I attempted to change the
> FREE(TYPECAST(char *,assume_list));
> to
> FREE((char *)assume_list));

The assume_list is a (CONST char**) not a (CONST char*), so casting it to
(char*) is definitely wrong.

I haven't looked at TYPECAST so I don't know whether that's what it
expands to.


   Klaus



reply via email to

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