
I was following an example on a book, and when I compiled it, it
finishes with the error: 1075 Function Prototypes are an ANSI feature.



What is this?.....



I compile others programs and I haven�t got such problems.....



Pls rspnd asap.......

Regards


--
Posted via http://dbforums.com

Mon, 15 Sep 2003 16:36:10 -0400
tachuelita <member39666@dbforums.com>
Compiling HP-UX 10.20
On Mon, Sep 15, 2003 at 04:36:10PM -0400, tachuelita wrote:

> I was following an example on a book, and when I compiled it, it
> finishes with the error: 1075 Function Prototypes are an ANSI feature.

Huh, you need the real compiler from HP.  The one bundled with the
operating system is apparently not up to the task.

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)

Tue, 16 Sep 2003 15:26:20 -0400
Alvaro Herrera Munoz <alvherre@dcc.uchile.cl>
Re: Compiling HP-UX 10.20
tachuelita <member39666@dbforums.com> writes:
> I was following an example on a book, and when I compiled it, it
> finishes with the error: 1075 Function Prototypes are an ANSI feature.

You forgot to use "-Ae" in the cc command line.  HP's compiler has odd
ideas about which generation of C programmers use it --- it still
defaults to behavior that was obsolete a dozen years ago.

			regards, tom lane

Tue, 16 Sep 2003 15:38:23 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Compiling HP-UX 10.20 