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:
/usr/local/lib/gcc-lib/rs6000-ibm-aix5.1.0.0/2.95.2/include/arpa/onameser_compat.h:292:warning:
no semicolon at end of struct or union
/usr/local/lib/gcc-lib/rs6000-ibm-aix5.1.0.0/2.95.2/include/arpa/onameser_compat.h:292:parse
error before `.'
/usr/local/lib/gcc-lib/rs6000-ibm-aix5.1.0.0/2.95.2/include/arpa/onameser_compat.h:296:parse
error before `}'
Is this a known error or is there a patch or workaround for this as this
works fine on Sun and HP.
Thanks
Amit Mathur
IBM
More information about the Gcc-bugs
mailing list