pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Suppress clang's unhelpful gripes about -pthread switch being un 3+ messages / 1 participants [nested] [flat]
* pgsql: Suppress clang's unhelpful gripes about -pthread switch being un @ 2015-04-05 17:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2015-04-05 17:02 UTC (permalink / raw) To: pgsql-committers 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). Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/73b416b2e41237b657d29d8f42a4bb34bf700928 Modified Files -------------- configure | 41 +++++++++++++++++++++++++++++++++++++++++ configure.in | 7 +++++++ 2 files changed, 48 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Suppress clang's unhelpful gripes about -pthread switch being un @ 2015-04-05 17:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2015-04-05 17:02 UTC (permalink / raw) To: pgsql-committers 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). Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/8972a152c597cf88280c6a99b03f38cbf21e6dd2 Modified Files -------------- configure | 41 +++++++++++++++++++++++++++++++++++++++++ configure.in | 7 +++++++ 2 files changed, 48 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Suppress clang's unhelpful gripes about -pthread switch being un @ 2015-04-05 17:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2015-04-05 17:02 UTC (permalink / raw) To: pgsql-committers 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). Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6347bdb31448f812cd726cfb3cdcdecf41a38b19 Modified Files -------------- configure | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 7 +++++++ 2 files changed, 73 insertions(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2015-04-05 17:02 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-04-05 17:02 pgsql: Suppress clang's unhelpful gripes about -pthread switch being un Tom Lane <tgl@sss.pgh.pa.us> 2015-04-05 17:02 pgsql: Suppress clang's unhelpful gripes about -pthread switch being un Tom Lane <tgl@sss.pgh.pa.us> 2015-04-05 17:02 pgsql: Suppress clang's unhelpful gripes about -pthread switch being un Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox