]> 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:38 +0000 (15:30 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2014 19:30:38 +0000 (15:30 -0400)
commite70980747dbe50b5ddc9aee88912e78825cacdd1
treec8cc490c1e24a4aff62d9bb7c15886bd7773a6a8
parentdb1fdc945da471a8dc1f0dd701270858acd0806f
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