From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-request@euclid.skiles.gatech.edu Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id DAA20274 for ; Thu, 10 Oct 1996 03:33:05 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id NAA18970; Wed, 9 Oct 1996 13:29:57 -0400 (EDT) Resent-Date: Wed, 9 Oct 1996 13:21:49 -0400 (EDT) From: Jan Martin Message-Id: <199610090031.RAA06659@herakles.jpl.nasa.gov> Date: Tue, 8 Oct 1996 17:31:46 -0700 (PDT) To: zsh-users@math.gatech.edu Subject: Problems compiling on HPUX 10.20 X-Mailer: Ishmail 1.3-960829-hp MIME-Version: 1.0 Content-Type: text/plain Resent-Message-ID: <"Tp_o52.0.OZ4.iyzMo"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/433 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Hi all, I must be doing something stupid, but has anyone successfully compiled zsh using the HPUX ANSI C compiler? Now that the cpp problem has been fixed, I get about 160 warnings and errors from the compiler, and then it exits. There are lots of warnings about "Integral value implicitly converted to pointer in assignment" and about 30 errors like: cc: "builtin.c", line 344: error 1588: "strpcmp" undefined. cc: "builtin.c", line 344: error 1588: "invstrpcmp" undefined. cc: "builtin.c", line 962: error 1588: "freestr" undefined. cc: "builtin.c", line 2470: error 1647: Illegal integer-pointer combination for second and third operands of conditional expression (?:). cc: "builtin.c", line 4047: error 1584: Inconsistent type declaration: "showlimits". cc: "builtin.c", line 4097: error 1584: Inconsistent type declaration: "printulimit". Has anyone else seen these errors? Is there a switch in the compiler I need to include, or a patch for a compiler bug? I just compiled using CC=cc and CFLAGS="-Aa -D_HPUX_SOURCE". Same result for CFLAGS=-Ae. Ideas? Many thanks for any help. (I'm kind of surprised I'm having this difficulty, since always before with the HPUX cc, I've had no problems with zsh) -jmm ********************************************************** Jan M. Martin Jet Propulsion Laboratory jmm@herakles.jpl.nasa.gov M/S 300-235 **********************************************************