forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit119290b
committed
Use -Wno-format-truncation and -Wno-stringop-truncation, if available.
gcc 8 has started emitting some warnings that are largely useless forour purposes, particularly since they complain about code followingthe project-standard coding convention that path names are assumedto be shorter than MAXPGPATH. Even if we make the effort to removethat assumption in some future release, the changes wouldn't getback-patched. Hence, just suppress these warnings, on compilers thathave these switches.Backpatch to all supported branches.Discussion:https://postgr.es/m/1524563856.26306.9.camel@gunduz.org1 parent58065f9 commit119290b
2 files changed
+92
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4744 | 4744 |
| |
4745 | 4745 |
| |
4746 | 4746 |
| |
| 4747 | + | |
4747 | 4748 |
| |
4748 | 4749 |
| |
4749 | 4750 |
| |
| |||
4782 | 4783 |
| |
4783 | 4784 |
| |
4784 | 4785 |
| |
| 4786 | + | |
| 4787 | + | |
| 4788 | + | |
| 4789 | + | |
| 4790 | + | |
| 4791 | + | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
| 4799 | + | |
| 4800 | + | |
| 4801 | + | |
| 4802 | + | |
| 4803 | + | |
| 4804 | + | |
| 4805 | + | |
| 4806 | + | |
| 4807 | + | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
| 4816 | + | |
| 4817 | + | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
| 4823 | + | |
| 4824 | + | |
| 4825 | + | |
| 4826 | + | |
| 4827 | + | |
| 4828 | + | |
| 4829 | + | |
| 4830 | + | |
| 4831 | + | |
| 4832 | + | |
| 4833 | + | |
| 4834 | + | |
| 4835 | + | |
| 4836 | + | |
| 4837 | + | |
| 4838 | + | |
| 4839 | + | |
| 4840 | + | |
| 4841 | + | |
| 4842 | + | |
| 4843 | + | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
| 4855 | + | |
| 4856 | + | |
| 4857 | + | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
| 4862 | + | |
| 4863 | + | |
| 4864 | + | |
4785 | 4865 |
| |
4786 | 4866 |
| |
4787 | 4867 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
459 | 459 |
| |
460 | 460 |
| |
461 | 461 |
| |
| 462 | + | |
462 | 463 |
| |
463 | 464 |
| |
464 | 465 |
| |
465 | 466 |
| |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
466 | 478 |
| |
467 | 479 |
| |
468 | 480 |
| |
|
0 commit comments
Comments
(0)