forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73b416b
committed
Suppress clang's unhelpful gripes about -pthread switch being unused.
Considering the number of cases in which "unused" command line argumentsare silently ignored by compilers, it's fairly astonishing that anybodythought this warning was useful; it's certainly nothing but an annoyancewhen building Postgres. One such case is that neither gcc nor clangcomplain about unrecognized -Wno-foo switches, making it more difficultto 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'tseem worth that).1 parente8fde1f commit73b416b
2 files changed
+48
-0
lines changedLines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4723 | 4723 |
| |
4724 | 4724 |
| |
4725 | 4725 |
| |
| 4726 | + | |
| 4727 | + | |
| 4728 | + | |
| 4729 | + | |
| 4730 | + | |
| 4731 | + | |
| 4732 | + | |
| 4733 | + | |
| 4734 | + | |
| 4735 | + | |
| 4736 | + | |
| 4737 | + | |
| 4738 | + | |
| 4739 | + | |
| 4740 | + | |
| 4741 | + | |
| 4742 | + | |
| 4743 | + | |
| 4744 | + | |
| 4745 | + | |
| 4746 | + | |
| 4747 | + | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
| 4754 | + | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
| 4758 | + | |
| 4759 | + | |
| 4760 | + | |
| 4761 | + | |
| 4762 | + | |
| 4763 | + | |
| 4764 | + | |
| 4765 | + | |
| 4766 | + | |
4726 | 4767 |
| |
4727 | 4768 |
| |
4728 | 4769 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
445 | 445 |
| |
446 | 446 |
| |
447 | 447 |
| |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
448 | 455 |
| |
449 | 456 |
| |
450 | 457 |
| |
|
0 commit comments
Comments
(0)