pgsql: Fix "quiet inline" configure test for newer clang compilers.
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_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/5788052f3c6b2ac3d2bd761cbb333e50dad8670c
Modified Files
--------------
config/c-compiler.m4 | 15 +++++++++++++--
config/test_quiet_include.h | 5 +++++
configure | 2 +-
3 files changed, 19 insertions(+), 3 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers