On Fri, Jun 6, 2008 at 10:35 AM, Bjorn Munch <[EMAIL PROTECTED]> wrote:
> 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...
It may work, but it's still unportable code. Correcting the root
proble
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;
>
Hello
2008/6/5 Mayuresh Nirhali <[EMAIL PROTECTED]>:
> Hello hackers,
>
> During the Oracle migration tutorial by peter at PGCon, I took an action
> item for myself to try orafce on Solaris/OpenSolaris.
> As pg binaries are bundled with Solaris now (using Sun Studio compiler), I
> decided to try o
On Thu, Jun 5, 2008 at 2:18 AM, Mayuresh Nirhali
<[EMAIL PROTECTED]> 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 compilatio
Tom Lane wrote:
Most C compilers don't like that either. The standard locution is
something like
char data[1]; /* VARIABLE LENGTH ARRAY */
Yes, I tried this already and forgot to mention earlier that with such
patch, I do not see any other errors.
So, this is t
Mayuresh Nirhali <[EMAIL PROTECTED]> writes:
> 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;