Subject: Old GCC causes problems in -current build
To: None <port-vax@netbsd.org>
From: Tom Ivar Helbekkmo <tih@eunetnorge.no>
List: port-vax
Date: 03/14/2005 07:53:48
Here's a declaration from .../lib/libc/citrus/modules/citrus_utf7.c
that our VAX compiler doesn't like:
typedef struct {
union {
uint32_t chlen;
_UTF7StatePriv state;
};
char ch[4]; /* BASE64_IN, 3 * 6 = 18, most closed to UTF16_BIT
*/
} _UTF7State;
It generates the warning "unnamed struct/union that defines no
instances", and attemps to use the struct further down the file
generates errors like "structure has no member named `state'".
Are we stuck at GCC 2.95 for the VAX? If so, I guess this code should
be changed to accommodate it, right?
-tih
--
Don't ascribe to stupidity what can be adequately explained by ignorance.