lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Thanks for the many responses, here are some warnings :)


From: Foteos Macrides
Subject: Re: LYNX-DEV Thanks for the many responses, here are some warnings :)
Date: Tue, 14 Jan 1997 19:54:09 -0500 (EST)

Paul Wouters <address@hidden> wrote:
>Since I had to recompile lynx with the lynxcgi stuff enabled, I
>grabbed the 2.6 sources and starting compiling. I got a warning
>and an error, so I figured I'd share them here for those who have
>to figure out how to ifdef these things ;)
>
>I am using Linux 2.1.1 on the Dec Alpha (axp) with glibc 0.99 and
>gcc 2.7.2.
>
>I got an error for the definition of sys_errlist[] which is defined
>in glibc as: extern const char *const sys_errlist[]; I just hardcoded
>it in WWW/Library/Implementation/HTCP.c 
>
>../../Library/Implementation/HTTCP.c:104: conflicting types for `sys_errlist'
>/usr/include/stdio.h:201: previous declaration of `sys_errlist'
>make[1]: *** [../../Library/unix/HTTCP.o] Error 1
>make[1]: Leaving directory `/usr/local/src/lynx2-6/WWW/Library/unix'
>make: *** [linux-ncurses] Error 2

        Adding the const is fine, but you can just comment out line 104
since you already have that from stdio.h.


>The warning:
>
>gcc -c -o ../../Library/unix/HTAnchor.o -O -DDEBUG -DLINUX -DDIRED_SUPPORT
>-DLON
>G_LIST    -I../../Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH
>../../Li
>brary/Implementation/HTAnchor.c
>../../Library/Implementation/HTAnchor.c: In function `HTAnchor_findChild':
>../../Library/Implementation/HTAnchor.c:193: warning: cast from pointer to
>integer of different size

        I think you can just get rid of the (int) typecast for tag in
that line.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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