git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8c43980) | patch
Fix "quiet inline" configure test for newer clang compilers.
Fri, 2 May 2014 19:30:35 +0000 (15:30 -0400)
Fri, 2 May 2014 19:30:35 +0000 (15:30 -0400)
commit 5788052f3c6b2ac3d2bd761cbb333e50dad8670c
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 diff | blob | blame | history
config/test_quiet_include.h [new file with mode: 0644] blob
configure diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /