[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] GNU tar install error
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] GNU tar install error |
Date: |
Wed, 22 Jun 2005 01:11:07 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) |
"Preston, Robert F" <address@hidden> writes:
> (Bundled) cc: warning 480: The -g option is available only with the
> C/ANSI C product; ignored.
> (Bundled) cc: "prepargs.h", line 3: error 1705: Function prototypes are
> an ANSI feature.
It looks to me like you're trying to build GNU tar with a compiler
that doesn't support ANSI C (a.k.a C89). Recent versions of GNU tar
require C89 or better.
C89 has been out for 16 years now, so this should be a safe
assumption. Except, apparently, for HP-UX. Maybe you could suggest
internally that HP-UX by default should ship a compiler that's less
than 16 years old? For example, HP-UX could ship GCC; GCC works with
HP-UX and supports both C89 and C99. See <http://gcc.gnu.org/>.