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

From Bjorn Munch
Subject Re: orafce does NOT build with Sun Studio compiler
Date
Msg-id 20080606143502.GA850@khepri12.norway.sun.com
Whole thread Raw
In response to orafce does NOT build with Sun Studio compiler  (Mayuresh Nirhali <Mayuresh.Nirhali@Sun.COM>)
Responses Re: orafce does NOT build with Sun Studio compiler  ("Jonah H. Harris" <jonah.harris@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Overhauling GUCS
Next
From: Gregory Stark
Date:
Subject: Re: Overhauling GUCS