[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't compile on HP-UX 11
From: |
Pascal Bart |
Subject: |
Re: can't compile on HP-UX 11 |
Date: |
Wed, 19 Dec 2001 00:25:56 +0100 |
RE: can't compile on HP-UX 11>Should I use the gcc or cc command to compile.
When using "configure" command,
>it failed to test with "gcc" command. After I took "gcc" command out of path,
>it runs
>fine with "cc" command. But I still run into the same problem as before.
>"cc: "loadmsgcat.c", line 274:error 1705: Function prototypes are an ANSI
>feature."
Yes, you should use gcc. But I cann't believe this problem comes from
loadmsgcat.c,
because this files comes from gettext package, and it was include in Bison 2
months
ago (whitout reported bug), and I've successfully build Bison on an HPUX 10.
Gcc should solve your problem, the culprit line looks good. Make sure you use at
least gcc 2.95.
--
Pascal Bart (address@hidden)
("Beati pauperes spiritu")