pgsql: Fix "quiet inline" configure test for newer clang compilers.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix "quiet inline" configure test for newer clang compilers.
Дата
Msg-id E1WgJAn-0003bQ-Qc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix "quiet inline" configure test for newer clang compilers.

This test used to just define an unused static inline function and check
whether that causes a warning.  But newer clang versions warn about
unused static inline functions when defined inside a .c file, but not
when defined in an included header, which is the case we care about.
Change the test to cope.

Andres Freund

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e70980747dbe50b5ddc9aee88912e78825cacdd1

Modified Files
--------------
config/c-compiler.m4        |   15 +++++++++++++--
config/test_quiet_include.h |    5 +++++
configure                   |    2 +-
3 files changed, 19 insertions(+), 3 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fix "quiet inline" configure test for newer clang compilers.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix "quiet inline" configure test for newer clang compilers.