[pgpool-committers: 5603] pgpool: Suppress useless truncation warnings from gcc 8+.

Tatsuo Ishii ishii at sraoss.co.jp
Mon Apr 1 15:30:01 JST 2019


Suppress useless truncation warnings from gcc 8+.

For this purpose update c-compiler.m4 (borrowed from PostgreSQL's
config/c-compiler.m4) and add PGAC_PROG_CC_VAR_OPT(NOT_THE_CFLAGS,
[-Wformat-truncation]) to configure.ac to generate -Wformat-truncation
compiler option.

Branch
------
V4_0_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c260a3615050b0a0ce8ce5358713fcb6f0a02fda

Modified Files
--------------
c-compiler.m4 | 587 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---
configure.ac  |   7 +
2 files changed, 569 insertions(+), 25 deletions(-)



More information about the pgpool-committers mailing list