From: | "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com> |
---|---|
To: | "Mayuresh Nirhali" <Mayuresh(dot)Nirhali(at)sun(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: orafce does NOT build with Sun Studio compiler |
Date: | 2008-06-05 06:30:56 |
Message-ID: | 36e682920806042330l5afa702an6bb785b65b2227b9@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jun 5, 2008 at 2:18 AM, Mayuresh Nirhali
<Mayuresh(dot)Nirhali(at)sun(dot)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(dot)harris(at)enterprisedb(dot)com
Edison, NJ 08837 | http://www.enterprisedb.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2008-06-05 06:38:21 | Re: Overhauling GUCS |
Previous Message | Simon Riggs | 2008-06-05 06:23:23 | pg_dump restore time and Foreign Keys |