Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE
Date
Msg-id 988386.1764826367@sss.pgh.pa.us
Whole thread Raw
In response to Something in our JIT code is screwing up PG_PRINTF_ATTRIBUTE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> Adding to my confusion, I do not see these warnings on a local
> RHEL9 machine, which ought to be pretty equivalent to CentOS 9.

Oh!  I see part of the story: I was testing that with gcc.
If I switch to clang (version 20.1.8 here), then I see that
we pick "__syslog__" and then these complaints appear.

So why isn't clang being bug-compatible with gcc on the
names of printf archetypes?  They're certainly pretty
slavish about that on most other topics.

            regards, tom lane



pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: tuple radix sort
Next
From: Michael Paquier
Date:
Subject: Re: Refactor how we form HeapTuples for CatalogTuple(Insert|Update)