This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc 2.95.2 on AIX 5.1
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc 2.95.2 on AIX 5.1
- From: "Amit Mathur" <amitmat at us dot ibm dot com>
- Date: Wed, 19 Sep 2001 18:31:00 -0700
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