lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev lynx 17d persistent cookie problem report


From: T.E.Dickey
Subject: Re: lynx-dev lynx 17d persistent cookie problem report
Date: Wed, 15 Jul 1998 12:11:48 -0400 (EDT)

> I did a make distclean and then configured lynx with the 17d patch on my
> SPARC Solaris 2.5.1 environment.  I left out the zlib flag I have been
> using in the past after it turned out that I didn't have that library
> build on that version of SunOS.  Previously I had been building against
> Solaris 2.4 and that ancient machine is being laid to rest.
>
> Anyways after doing the above, my compiles go along quite a bit.  Until
> that is I hit the new persistent cookie experimental code.  I had
> tried to configure it in just to try it out.  But I get this compile error:
>
> cc -DHAVE_CONFIG_H -I/projects/gnu/sparc-sun-solaris2.5.1/include 
> -I/projects/gn
> u/sparc-sun-solaris2.5.1/include/ncurses -I. -I.. -Ichrtrans -I./chrtrans 
> -I.. -
> I../src -I../WWW/Library/Implementation  -fast -xO5 -xdepend -v  -c ./LYMap.c
> cc -DHAVE_CONFIG_H -I/projects/gnu/sparc-sun-solaris2.5.1/include 
> -I/projects/gn
> u/sparc-sun-solaris2.5.1/include/ncurses -I. -I.. -Ichrtrans -I./chrtrans 
> -I.. -
> I../src -I../WWW/Library/Implementation  -fast -xO5 -xdepend -v  -c 
> ./LYCookie.c
something (I don't know what) is being redefined.  Here's the context for
line 1850:

        cookie *moo;
        int tok_loop;
-->     char *tok_values[] = {domain, what, path, secure, expires_a, name, 
value, NULL};
        char *tok_out, *tok_ptr;

I'd go to ./src and
        make LYCookie.i
and see what's being generated.

> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"
> "./LYCookie.c", line 1850: non-constant initializer: op "U&"

The other warnings are from using strsep (since that's not always available,
I ifdef'd the whole chunk of code as a configure option).  But it should
compile and "work".

> "./LYCookie.c", line 1866: warning: implicitly declaring function to return 
> int:
>  strsep()
> "./LYCookie.c", line 1866: warning: improper pointer/integer combination: op 
> "="
> "./LYCookie.c", line 1878: warning: improper pointer/integer combination: op 
> "="
> cc: acomp failed for ./LYCookie.c

--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

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