Compiler warning on Debian 12, PostgreSQL 16 Beta3 - Mailing list pgsql-hackers

From Daniel Westermann (DWE)
Subject Compiler warning on Debian 12, PostgreSQL 16 Beta3
Date
Msg-id GV0P278MB04195BBBD074113B14ED7DC4D2E3A@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Compiler warning on Debian 12, PostgreSQL 16 Beta3
List pgsql-hackers
Hi,

I've just noticed this warning when building on Debian 12:

In file included from /usr/lib/llvm-14/include/llvm/Analysis/ModuleSummaryAnalysis.h:17,
                 from llvmjit_inline.cpp:51:
/usr/lib/llvm-14/include/llvm/IR/ModuleSummaryIndex.h: In constructor
‘llvm::ModuleSummaryIndex::ModuleSummaryIndex(bool,bool)’: 
/usr/lib/llvm-14/include/llvm/IR/ModuleSummaryIndex.h:1175:73: warning: member ‘llvm::ModuleSummaryIndex::Alloc’ is
useduninitialized [-Wuninitialized] 
 1175 |       : HaveGVs(HaveGVs), EnableSplitLTOUnit(EnableSplitLTOUnit), Saver(Alloc),
      |

cat /etc/debian_version
12.1

Regards
Daniel


pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: list of acknowledgments for PG16
Next
From: Thomas Munro
Date:
Subject: Re: broken master regress tests