diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-04-05 13:01:55 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-04-05 13:01:55 -0400 |
commit | 8972a152c597cf88280c6a99b03f38cbf21e6dd2 (patch) | |
tree | d688a7da9369b95674c7d9557029f57aa2edc14b /src/backend/regex/regc_locale.c | |
parent | 1d71d36ffeae15616672b5c34e4f0d6f3484fa45 (diff) |
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/regex/regc_locale.c')
0 files changed, 0 insertions, 0 deletions