Clang compiler warning on 9.3 HEAD

Поиск
Список
Период
Сортировка
От Will Leinweber
Тема Clang compiler warning on 9.3 HEAD
Дата
Msg-id CAL8LqZR8+FQf5+U=gUWZ_EMo2UwJkyEEjJwaPeBc9JKtB0Cs8g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Clang compiler warning on 9.3 HEAD  (Peter Geoghegan <pg@heroku.com>)
Re: Clang compiler warning on 9.3 HEAD  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Drastic performance loss in assert-enabled build in HEAD
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)