Hi all,

Ruby 1.6.8 and Ruby 1.8.0 (today's snapshot)

$ uname -a
HP-UX hplkp258 B.11.00 A 9000/800 604369373

cpp.ansi: HP92453-01 B.11.11.04 HP C Preprocessor (ANSI)
ccom: HP92453-01 B.11.11.04 HP C Compiler
/usr/ccs/bin/ld: 92453-07 linker linker ld B.11.30 011005

I can't get either 1.6.8 or 1.8 to build with the HP C compiler.

First, 1.6.8:

$ make
         cc -g -I. -I. -c array.c
cc: "ruby.h", line 569: error 1000: Unexpected symbol: "rb_class_of".
cc: panic 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Now, 1.8:

$ make

# I get warnings like this from several files
cc: "hash.c", line 290: warning 604: Pointers are not assignment-compatible.
cc: "hash.c", line 290: warning 563: Argument #3 is not the correct type.

# and finally

cc -g  -DYYMAXDEPTH=300 -I. -I. -c parse.c
cc: "parse.y", line 4371: warning 527: Integral value implicitly 
converted to pointer in assignment.
cc: "parse.y", line 4374: error 1530: Undefined struct or union.
cc: "parse.y", line 4376: error 1530: Undefined struct or union.
cc: "parse.y", line 4376: warning 563: Argument #1 is not the correct type.
cc: "parse.y", line 4378: error 1530: Undefined struct or union.
cc: "parse.y", line 4378: error 1563: Expression in if must be scalar.
cc: "parse.y", line 4387: error 1530: Undefined struct or union.
cc: "parse.y", line 4389: error 1530: Undefined struct or union.
cc: "parse.y", line 4389: error 1530: Undefined struct or union.
cc: "parse.y", line 4389: error 1563: Expression in if must be scalar.
cc: "parse.y", line 4391: error 1530: Undefined struct or union.
*** Error exit code 1

The config.log files are 35k (1.6.8) and 87k (1.8) so I didn't include 
them here.  Available on request (please send email to djberge at qwest 
dot com).  I will post them individually if folks want, as a followup to 
this message.

Any ideas?

Regards,

Dan