Clang compiler warning on 9.3 HEAD

From: Will Leinweber <will(at)heroku(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Clang compiler warning on 9.3 HEAD
Date: 2013-04-03 22:52:12
Message-ID: CAL8LqZR8+FQf5+U=gUWZ_EMo2UwJkyEEjJwaPeBc9JKtB0Cs8g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

dependency.c:213:36: warning: implicit conversion from enumeration type
'ObjectClass' (aka 'enum ObjectClass') to different
enumeration type 'ObjectType' (aka 'enum ObjectType') [-Wconversion]

EventTriggerSupportsObjectType(getObjectClass(thisobj)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2013-04-03 22:55:36 Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Previous Message Tom Lane 2013-04-03 21:49:18 Re: Drastic performance loss in assert-enabled build in HEAD