-Wunreachable-code-generic-assoc warnings on elver

Поиск
Список
Период
Сортировка
От Tom Lane
Тема -Wunreachable-code-generic-assoc warnings on elver
Дата
Msg-id 1189360.1670640609@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: -Wunreachable-code-generic-assoc warnings on elver  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Recently, buildfarm member elver has started spewing literally
thousands of $SUBJECT:

 elver         | 2022-12-10 01:17:29 | ../../src/include/utils/float.h:223:33: warning: due to lvalue conversion of the
controllingexpression, association of type 'volatile float' will never be selected because it is qualified
[-Wunreachable-code-generic-assoc]
 elver         | 2022-12-10 01:17:29 | ../../src/include/utils/float.h:223:33: warning: due to lvalue conversion of the
controllingexpression, association of type 'volatile double' will never be selected because it is qualified
[-Wunreachable-code-generic-assoc]
 elver         | 2022-12-10 01:17:29 | ../../src/include/utils/float.h:223:33: warning: due to lvalue conversion of the
controllingexpression, association of type 'volatile long double' will never be selected because it is qualified
[-Wunreachable-code-generic-assoc]
[ etc etc, about 9200 times per build ]

I have no idea what that means, and consulting the clang documentation
didn't leave me much wiser.  I do see that a lot of these seem to be
associated with isnan() calls, which makes me guess that clang does
not play nice with however isnan() is declared on that box.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Generate pg_stat_get_* functions with Macros
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Generate pg_stat_get_* functions with Macros