Re: orafce does NOT build with Sun Studio compiler - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: orafce does NOT build with Sun Studio compiler
Date
Msg-id 36e682920806042330l5afa702an6bb785b65b2227b9@mail.gmail.com
Whole thread Raw
In response to Re: orafce does NOT build with Sun Studio compiler  (Mayuresh Nirhali <Mayuresh.Nirhali@Sun.COM>)
List pgsql-hackers
On Thu, Jun 5, 2008 at 2:18 AM, Mayuresh Nirhali
<Mayuresh.Nirhali@sun.com> wrote:
>> Most C compilers don't like that either.  The standard locution is
>> something like
>>
>>          char data[1];                   /* VARIABLE LENGTH ARRAY */
>>
>
> So, this is the only issue with Sun Studio compilation of orafce.

Well, it's likely an issue with most commercial compilers.  Accepting
an array of undefined-length in this way is non-standard and is a GCC
extension.

-- 
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/


pgsql-hackers by date:

Previous
From: Mayuresh Nirhali
Date:
Subject: Re: orafce does NOT build with Sun Studio compiler
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: Overhauling GUCS