Re: Fixing AC_CHECK_DECLS to do the right thing with clang
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, Noah Misch <noah@leadboat.com>
Date: 2018-11-18T22:02:48Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: > Seems like a good plan. The problem doesn't reproduce for me on debian > (using any version of clang), so all I can report is that at patched > build still works as it should. Interesting. It's hardly surprising that the problem would occur only on some platforms, since if <string.h> declares the function then the problem isn't visible. But I'm surprised that some Debian boxes would show it and some not. Still, a closer look at the buildfarm shows both clang-on-Debian members with the warning (eg gull) and clang-on-Debian members without (eg yours). regards, tom lane
Commits
-
Fix configure's AC_CHECK_DECLS tests to work correctly with clang.
- f6ce9cee6207 9.3 (unreleased) landed
- b8464d2f5da0 9.2 (unreleased) landed
- dcd6200165ca 11.2 landed
- 97b398ee5cb7 10.7 landed
- 8af1511e9cb5 9.6.12 landed
- 5fcb210e8d0e 9.4.21 landed
- 593320abac7d 9.5.16 landed
- 16fbac39ff68 12.0 landed