Re: jsonapi: scary new warnings with LTO enabled - Mailing list pgsql-hackers

From Tom Lane
Subject Re: jsonapi: scary new warnings with LTO enabled
Date
Msg-id 2202326.1744903233@sss.pgh.pa.us
Whole thread Raw
In response to Re: jsonapi: scary new warnings with LTO enabled  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: jsonapi: scary new warnings with LTO enabled
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> Agreed, moving to heap allocated structures for these callsites seem much
> better. Something like the attached should be enough I think?

I confirm this silences those warnings on my Fedora 41 box.

I'm content to do it like this, but maybe Jacob wants to
investigate alternatives?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: BitmapHeapScan streaming read user and prelim refactoring
Next
From: Jacob Champion
Date:
Subject: Re: jsonapi: scary new warnings with LTO enabled