From: Brett Williams Date: 2004-03-06T01:04:43+09:00 Subject: GCC 3.3.3 and Ruby 1.8.0 and 1.8.1 We recently upgraded to GCC 3.3.3 and now we can no longer compile ruby due to its use of some obsoleted constructs. Apparently GCC no longer supports , and code should be revised to use Not knowing anything about it, is there a good workaround? Will this be changed in future versions of Ruby so that it will play nice with the latest GCC? gcc -fPIC -g -O2 -fPIC -mpa-risc-2-0 -I. -I/home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/compiled-1.8.0 -I/home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0 -I/home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0/ext/curses -DHAVE_CURSES_COLR_CURSES_H -DHAVE_ISENDWIN -DHAVE_UNGETCH -DHAVE_BEEP -DHAVE_GETNSTR -DHAVE_WGETNSTR -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_DELETELN -DHAVE_WDELETELN -DHAVE_KEYPAD -DHAVE_KEYNAME -DHAVE_INIT_COLOR -c /home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0/ext/curses/curs es.c In file included from /home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0/ext/curses/curs es.c:23: /opt/ictools/gcc/lib/gcc-lib/hppa2.0-hp-hpux11.00/3.3.3/include/varargs.h:4:2: #error "GCC no longer implements ." /opt/ictools/gcc/lib/gcc-lib/hppa2.0-hp-hpux11.00/3.3.3/include/varargs.h:5:2: #error "Revise your code to use ." In file included from /home/kgr/work/actruby/build/hpux11.0/pa2.0/debug/src/ruby-1.8.0/ext/curses/curs es.c:24: /opt/ictools/gcc/lib/gcc-lib/hppa2.0-hp-hpux11.00/3.3.3/include/curses_colr/curs es.h:340: error: parse error before "va_list" /opt/ictools/gcc/lib/gcc-lib/hppa2.0-hp-hpux11.00/3.3.3/include/curses_colr/curs es.h:341: error: parse error before "va_list"