This patch should take care of the problems with compiling Wget 1.10
with the native IBM cc.
2005-06-15 Hrvoje Niksic <[EMAIL PROTECTED]>
* host.h (ip_address): Remove the trailing comma from the type
enum in the no-IPv6 case.
* main.c (struct cmdline_option): Remove the trailing comma from
the enum.
Reported by Jens Schleusener.
Index: src/host.h
===================================================================
RCS file: /pack/anoncvs/wget/src/host.h,v
retrieving revision 1.27
diff -u -r1.27 host.h
--- src/host.h 2005/03/04 19:21:01 1.27
+++ src/host.h 2005/06/15 20:06:53
@@ -49,9 +49,9 @@
typedef struct {
/* Address type. */
enum {
- IPV4_ADDRESS,
+ IPV4_ADDRESS
#ifdef ENABLE_IPV6
- IPV6_ADDRESS
+ , IPV6_ADDRESS
#endif /* ENABLE_IPV6 */
} type;
Index: src/main.c
===================================================================
RCS file: /pack/anoncvs/wget/src/main.c,v
retrieving revision 1.137
diff -u -r1.137 main.c
--- src/main.c 2005/05/06 15:50:50 1.137
+++ src/main.c 2005/06/15 20:06:54
@@ -144,7 +144,7 @@
OPT__DONT_REMOVE_LISTING,
OPT__EXECUTE,
OPT__NO,
- OPT__PARENT,
+ OPT__PARENT
} type;
const void *data; /* for standard options */
int argtype; /* for non-standard options */