Re: Compiling HP-UX 10.20 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Compiling HP-UX 10.20
Date
Msg-id 26498.1063741103@sss.pgh.pa.us
Whole thread Raw
In response to Compiling HP-UX 10.20  (tachuelita <member39666@dbforums.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Dave Smith
Date:
Subject: Re: New thoughts about indexing cross-type comparisons
Next
From: Andrew Dunstan
Date:
Subject: Re: massive quotes?