Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27
Date
Msg-id 16476.1349639653@sss.pgh.pa.us
Whole thread Raw
In response to BUG #7588: pgsql 9.1 incompatible with zlib 1.27  (draco@marino.st)
Responses Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27  (John Marino <draco@marino.st>)
List pgsql-bugs
John Marino <draco@marino.st> writes:
> Perhaps, you need to take a closer look at this. I guarantee that I
> didn't do this for cosmetic reasons.  GCC behavior changed with GCC 4.5
> on this topic.

You should report it as a bug in whatever distro you're using, because
the behavior did *not* change anywhere else, and the code you say your
compiler is rejecting is clearly legal per C standard.  sizeof() is
a compile-time constant.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27
Next
From: Tom Lane
Date:
Subject: Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27