Re: Clang compiler warning on 9.3 HEAD

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Will Leinweber <will(at)heroku(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Clang compiler warning on 9.3 HEAD
Date: 2013-04-03 23:19:09
Message-ID: CAM3SWZRMzgHL29oz+dibN6ME0g6jmPsbSmkFBCq3ketEujamvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 3, 2013 at 11:52 PM, Will Leinweber <will(at)heroku(dot)com> wrote:
> On ref 8507907 when compiling with clang on os x, I got this warning which
> seems like a possible bug.
>
> I thought to report this because I imagine clang isn't frequently used
> day-to-day by most.

I actually reported a bug that was thrown up by Clang for similar
reasons over a year ago (i.e. an implicit conversion of one enum type
to another). That bug was fixed (by this commit:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=05e83968929f4ec1eba058fcae755fd2df98864e
), and the diagnostics were considered generally sound and useful at
the time. This looks like a real problem to me.

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2013-04-03 23:42:49 Re: CREATE EXTENSION BLOCKS
Previous Message Jeff Janes 2013-04-03 22:57:49 corrupt pages detected by enabling checksums