Re: Compiler warnings on Debian 10

2021-02-11 Thread Tom Lane
Looking at things more closely, I realize that the warnings are not showing up in most compiles (if they were, you'd have many more of them). They are only showing up in the llvmjit_*.cpp files, which need to be built with a C++ compiler not gcc. I can see in your make log that those are getting

Re: Compiler warnings on Debian 10

2021-02-11 Thread Daniel Westermann (DWE)
>> Nothing special. Configure and make log attached. The same procedure works >> fine on my local Debian 10.7. >Quite odd.  The configure output clearly shows that it thought gnu_printf >is fine: >checking for printf format archetype... gnu_printf >Possibly the corresponding section of config.l

Re: Compiler warnings on Debian 10

2021-02-11 Thread Tom Lane
"Daniel Westermann (DWE)" writes: > "Daniel Westermann (DWE)" writes: >>> I was wondering if someone already has seen these warnings on Debian 10 >>> (PostgreSQL 13.1): >>> ../../../../src/include/port.h:176:70: warning: 'format' attribute argument >>> not supported: gnu_printf >>>    [-Wi

Re: Compiler warnings on Debian 10

2021-02-11 Thread Tom Lane
"Daniel Westermann (DWE)" writes: > I was wondering if someone already has seen these warnings on Debian 10 > (PostgreSQL 13.1): > ../../../../src/include/port.h:176:70: warning: 'format' attribute argument > not supported: gnu_printf > [-Wignored-attributes] Huh. What compiler are you

Compiler warnings on Debian 10

2021-02-10 Thread Daniel Westermann (DWE)
HI, I was wondering if someone already has seen these warnings on Debian 10 (PostgreSQL 13.1): ../../../../src/include/port.h:176:70: warning: 'format' attribute argument not supported: gnu_printf [-Wignored-attributes] extern int pg_snprintf(char *str, size_t count, const char *fmt,