gcc 2.95.2 on AIX 5.1

Amit Mathur amitmat@us.ibm.com
Wed Sep 19 18:32:00 GMT 2001

Hi ,

I am using gcc 2.95.2 on AIX 5.1on IBM system and I am getting following
error if I am using these header  files :

$ cat bug.c
#include <reloc.h>
#include <arpa/nameser.h>

$ /usr/local/bin/gcc -c bug.c
In file included from /usr/include/arpa/nameser.h:615,from bug.c:2:

no semicolon at end of struct or union

error before `.'

error before `}'

Is this a known error or is there a patch or workaround for this as this
works fine on Sun and HP.

 Amit Mathur

More information about the Gcc-bugs mailing list