[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx2.8.3dev.8
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev lynx2.8.3dev.8 |
Date: |
Wed, 1 Sep 1999 18:55:56 +0400 (MSD) |
28-Aug-99 17:24 T.E.Dickey wrote:
> Mostly compile-fixes. Also, a configure option (--with-charsets).
> 1999-08-28 (2.8.3dev.8)
One more warning may be eliminated: when compiling with DJGPP and WATT32
I got the following from HTFTP.c:
In file included from ../../../djgpp/watt32/inc/sys/socket.h:50,
from ../Implementation/www_tcp.h:506,
from ../Implementation/HTUtils.h:470,
from ../../Library/Implementation/HTFTP.c:78:
../../../djgpp/watt32/inc/sys/wtypes.h:59: warning: useless keyword or type
name in empty declaration
../../../djgpp/watt32/inc/sys/wtypes.h:59: warning: empty declaration
It turns out that watt32/inc/sys/wtypes.h line 59 says:
typedef unsigned long u_long;
while HTFTP.c line 78 defines u_long as follows:
...
#ifdef DJGPP
#define u_long unsigned long
#endif
#include <HTUtils.h>
...
So `#ifdef DJGPP' should be replaced with
`#if defined(DJGPP) && !defined(WATT32)'
--- htftp.old Wed Sep 1 18:05:54 1999
+++ htftp.c Wed Sep 1 18:53:52 1999
@@ -71,7 +71,7 @@
** same time.
*/
-#ifdef DJGPP
+#if defined(DJGPP) && !defined(WATT32)
#define u_long unsigned long
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: lynx-dev lynx2.8.3dev.8,
Leonid Pauzner <=