aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-06-16 15:34:07 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-06-16 15:34:07 -0400
commit416e3e318cc42cfc36633ba3d1fde708cfa084af (patch)
tree6d972e0222fbba8fb368fc5bcf9d612fcde594a4 /src/tutorial/funcs.c
parent8c924855456eff392391eba49cb02ae581a12898 (diff)
downloadpostgresql-416e3e318cc42cfc36633ba3d1fde708cfa084af.tar.gz
postgresql-416e3e318cc42cfc36633ba3d1fde708cfa084af.zip
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 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions