aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/constraint.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-04-05 13:01:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-04-05 13:01:59 -0400
commit73b416b2e41237b657d29d8f42a4bb34bf700928 (patch)
tree1a9a645cec7c031ecc5e20c9534f023fae4faa12 /src/backend/commands/constraint.c
parente8fde1f6a0495d52ddfe46e38e9f281fc11400c9 (diff)
downloadpostgresql-73b416b2e41237b657d29d8f42a4bb34bf700928.tar.gz
postgresql-73b416b2e41237b657d29d8f42a4bb34bf700928.zip
Suppress clang's unhelpful gripes about -pthread switch being unused.
Considering the number of cases in which "unused" command line arguments are silently ignored by compilers, it's fairly astonishing that anybody thought this warning was useful; it's certainly nothing but an annoyance when building Postgres. One such case is that neither gcc nor clang complain about unrecognized -Wno-foo switches, making it more difficult to figure out whether the switch does anything than one could wish. Back-patch to 9.3, which is as far back as the patch applies conveniently (we'd have to back-patch PGAC_PROG_CC_VAR_OPT to go further, and it doesn't seem worth that).
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions