#3 Error on AIX 5.1

open
nobody
None
5
2002-11-21
2002-11-21
Anonymous
No

On AIX51 I get the following errors:

"/usr/local/lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.2/include/stdarg.h", line 43: parse error at
token '__builtin_va_list'
"/usr/local/lib/gcc-lib/powerpc-ibm-
aix5.1.0.0/3.2/include/stdio.h", line 268: parse error at
token '__gnuc_va_list'

Is there any know fix for this? I'm not using any cproto
switches and am using 4.6 downloaded from this site.

Any help is appreciated..

Discussion

  • Logged In: NO

    I created a fix for this:

    In grammar.y I added

    "__gnuc_va_list", "__gnuc_va_list__",
    "__builtin_va_list", "__builtin_va_list__",

    to the keywords array in init_parser()
    (line 838)

     
  • MelanomaSky
    MelanomaSky
    2007-12-03

    Logged In: YES
    user_id=1950769
    Originator: NO

    This also occurs on RHEL 4 for x86.