GCC 8 warnings
Devrim GÜNDÜZ <devrim@gunduz.org>
From: Devrim Gündüz <devrim@gunduz.org>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2018-04-24T09:57:36Z
Lists: pgsql-hackers
Hi, While building stable releases and v11 on Fedora 28, I am seeing some warnings. What is the project's policy about fixing those warnings in older branches? To contribute to world peace, I did not attach the text to the email. Here is what I see in today's git snapshot: https://gunduz.org/temp/pg-gcc8-v11.txt ...and this is from 9.6: https://gunduz.org/temp/pg-gcc8-9.6.txt Regards, -- Devrim Gündüz EnterpriseDB: https://www.enterprisedb.com PostgreSQL Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Commits
-
Use -Wno-format-truncation and -Wno-stringop-truncation, if available.
- ec5547e563a8 9.3.24 landed
- e716585235b1 11.0 landed
- 817d605e411f 9.4.19 landed
- 416e3e318cc4 10.5 landed
- 14b69a532197 9.5.14 landed
- 119290be6fe3 9.6.10 landed
-
Avoid unnecessary use of strncpy in a couple of places in ecpg.
- 537d7f3e1875 9.3.24 landed
- cd56194d189d 9.4.19 landed
- 8b444a353975 9.5.14 landed
- 58065f9eed68 9.6.10 landed
- 8c924855456e 10.5 landed
- 6b74f5eaadc4 11.0 landed
-
Use snprintf not sprintf in pg_waldump's timestamptz_to_str.
- fd079dd0915a 9.4.19 landed
- f3be5d3e7891 9.5.14 landed
- 8870e2978fc5 9.6.10 landed
- 5d923eb29bb6 11.0 landed
- 3243cbc085b8 9.3.24 landed
- 18933261589c 10.5 landed