Re: Suppressing compiler warning on Debian 12/gcc 12.2.0

2023-09-04 Thread Bruce Momjian
On Thu, Aug 31, 2023 at 03:25:09PM -0400, Bruce Momjian wrote: > Being a new user of Debian 12/gcc 12.2.0, I wrote the following shell > script to conditionally add gmake rules with compiler flags to > src/Makefile.custom to suppress warnings for certain files. This allows > me to compile all supp

Suppressing compiler warning on Debian 12/gcc 12.2.0

2023-08-31 Thread Bruce Momjian
Being a new user of Debian 12/gcc 12.2.0, I wrote the following shell script to conditionally add gmake rules with compiler flags to src/Makefile.custom to suppress warnings for certain files. This allows me to compile all supported Postgres releases without warnings. I actually didn't how simple