Clang compiler warning on 9.3 HEAD - Mailing list pgsql-hackers

From Will Leinweber
Subject Clang compiler warning on 9.3 HEAD
Date
Msg-id CAL8LqZR8+FQf5+U=gUWZ_EMo2UwJkyEEjJwaPeBc9JKtB0Cs8g@mail.gmail.com
Whole thread Raw
Responses Re: Clang compiler warning on 9.3 HEAD
Re: Clang compiler warning on 9.3 HEAD
List 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.

 

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Drastic performance loss in assert-enabled build in HEAD
Next
From: Jim Nasby
Date:
Subject: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)