aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copy.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-11-19 12:01:47 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-11-19 12:01:47 -0500
commitdcd6200165ca583cc1b0d436774cf4c3cf7e642d (patch)
tree60a210a3c65aadfbaddf25c095fd603bcdf6c052 /src/backend/commands/copy.c
parenta4db7fe0f71463eb7256d3c42b7a582d3943d604 (diff)
downloadpostgresql-dcd6200165ca583cc1b0d436774cf4c3cf7e642d.tar.gz
postgresql-dcd6200165ca583cc1b0d436774cf4c3cf7e642d.zip
Fix configure's AC_CHECK_DECLS tests to work correctly with clang.
The test case that Autoconf uses to discover whether a function has been declared doesn't work reliably with clang, because clang reports a warning not an error if the name is a known built-in function. On some platforms, this results in a lot of compile-time warnings about strlcpy and related functions not having been declared. There is a fix for this (by Noah Misch) in the upstream Autoconf sources, but since they've not made a release in years and show no indication of doing so anytime soon, let's just absorb their fix directly. We can revert this when and if we update to a newer Autoconf release. Back-patch to all supported branches. Discussion: https://postgr.es/m/26819.1542515567@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/copy.c')
0 files changed, 0 insertions, 0 deletions