Fix "quiet inline" configure test for newer clang compilers.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| config/c-compiler.m4 | modified | +13 −2 |
| config/test_quiet_include.h | added | +5 −0 |
| configure | modified | +1 −1 |