]> granicus.if.org Git - postgresql/commit
Fix "quiet inline" configure test for newer clang compilers.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:35 +0000 (15:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:35 +0000 (15:30 -0400)
commit5788052f3c6b2ac3d2bd761cbb333e50dad8670c
treeb6265e1497a7470baea8595dcc6c8f8733affd5a
parent8c43980a18c9801d693f39f40a5a26a51785d5fc
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
config/c-compiler.m4
config/test_quiet_include.h [new file with mode: 0644]
configure