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

Tatsuo Ishii ishii at sraoss.co.jp
Sat Mar 30 22:36:22 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
------
master

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

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



More information about the pgpool-committers mailing list