Alvaro Herrera <alvhe...@2ndquadrant.com> writes:
> I forgot to mention that this patch produces a new warning:

> /pgsql/source/master/src/backend/tcop/postgres.c: In function 'quickdie':
> /pgsql/source/master/src/backend/tcop/postgres.c:2737:2: warning: implicit 
> declaration of function '__gcov_flush'; did you mean 'pq_flush'? 
> [-Wimplicit-function-declaration]
>   __gcov_flush();
>   ^~~~~~~~~~~~
>   pq_flush

> I couldn't find a way to squelch that.  gcc devs in their infinite
> wisdom don't provide a prototype for it, apparently.

Ugh.  So let's supply our own prototype, presumably it's just

extern void __gcov_flush(void);

                        regards, tom lane


Reply via email to