Re: printtup.c: error: ‘VARSIZE_ANY’ makes pointer from integer when USE_VALGRIND is defined - Mailing list pgsql-hackers

From Tom Lane
Subject Re: printtup.c: error: ‘VARSIZE_ANY’ makes pointer from integer when USE_VALGRIND is defined
Date
Msg-id 1128539.1754417836@sss.pgh.pa.us
Whole thread Raw
In response to printtup.c: error: ‘VARSIZE_ANY’ makes pointer from integer when USE_VALGRIND is defined  (Dmitry Mityugov <d.mityugov@postgrespro.ru>)
List pgsql-hackers
Dmitry Mityugov <d.mityugov@postgrespro.ru> writes:
> When USE_VALGRIND is defined, compilation started to fail with this 
> error message (-Werror is used; without it, a warning is observed 
> instead):
> printtup.c:353:95: error: passing argument 1 of ‘VARSIZE_ANY’ makes 
> pointer from integer without a cast [-Wint-conversion]

Thanks for the report, but I already fixed this a couple hours ago.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Test to dump and restore objects left behind by regression
Next
From: Tom Lane
Date:
Subject: Re: Convert varatt.h macros to static inline functions