[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev one tiny compiler warning
From: |
dickey |
Subject: |
Re: lynx-dev one tiny compiler warning |
Date: |
Wed, 2 Jun 1999 05:19:11 -0400 (EDT) |
>
> Probably not even worth mentioning, but JFYI:
yes - there are a half-dozen or so places where we get a discard-const
warning. A couple could be fixed by copying buffers, but it's only worth
doing that if we encountered a machine for instance that didn't work properly
when the parameter passed to 'write' cannot be const. It's possible - I
found that HPUX needed a non-const parameter to 'sscanf'...
> lynx2.8.2pre.11
> SunOS 5.6 Generic sun4m sparc SUNW,SPARCstation-4
> gcc version 2.7.2.3
>
> gcc -DHAVE_CONFIG_H -I/home1/henry/.usr/include -DNO_RULES -I../../..
> -I../..
> /../src -I../../.. -I../../../src -I../../../WWW/Library/Implementation
> -O2
> -I../../../WWW/Library/Implementation/ -DXMOSAIC_HACK -DACCESS_AUTH -c
> ../../.
> ./WWW/Library/Implementation/HTAccess.c
> ../../../WWW/Library/Implementation/HTAccess.c: In function `get_physical':
> ../../../WWW/Library/Implementation/HTAccess.c:402: warning: passing arg 2 of
> `H
> TAnchor_setPhysical' discards `const' from pointer target type
>
> Otherwise flawless build.
>
> __Henry
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey