summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2018-06-16 19:34:07 +0000
committerTom Lane2018-06-16 19:34:07 +0000
commitec5547e563a85cb84fc186dd96c41a86c59cc7fa (patch)
treef321fc809bc0f4fab1792b8640564338297c926f /doc/src
parent537d7f3e18757ac6ddab2e7cec80cc27bf303795 (diff)
Use -Wno-format-truncation and -Wno-stringop-truncation, if available.
gcc 8 has started emitting some warnings that are largely useless for our purposes, particularly since they complain about code following the project-standard coding convention that path names are assumed to be shorter than MAXPGPATH. Even if we make the effort to remove that assumption in some future release, the changes wouldn't get back-patched. Hence, just suppress these warnings, on compilers that have these switches. Backpatch to all supported branches. Discussion: https://postgr.es/m/1524563856.26306.9.camel@gunduz.org
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions