This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 2.95.2 on AIX 5.1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]