Re: orafce does NOT build with Sun Studio compiler

From: Bjorn Munch <Bjorn(dot)Munch(at)sun(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: orafce does NOT build with Sun Studio compiler
Date: 2008-06-06 14:35:02
Message-ID: 20080606143502.GA850@khepri12.norway.sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 05/06 10.44, Mayuresh Nirhali wrote:
> Sun Studio does not like array declarations with null as dimenstion.
> So, In pipe.c we have,
>
> typedef struct
> {
> LWLockId shmem_lock;
> pipe *pipes;
> alert_event *events;
> alert_lock *locks;
> size_t size;
> unsigned int sid;
> char data[]; /* line 149 */
> } sh_memory;

Have you tried with Studio 12? I have a vague recollection that it
might treat this differently (in order words, accept it), but I may be
wrong...

- Bjorn

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-06-06 14:58:19 Re: Overhauling GUCS
Previous Message Gregory Stark 2008-06-06 14:29:14 Re: Overhauling GUCS