On 2014-01-15 10:19:32 -0500, Robert Haas wrote: > On Tue, Jan 14, 2014 at 9:28 PM, Peter Eisentraut <pete...@gmx.net> wrote: > > Something is causing this new compiler warning: > > > > setup.c: In function ‘setup_dynamic_shared_memory’: > > setup.c:102:3: error: format ‘%llu’ expects argument of type ‘long long > > unsigned int’, but argument 2 has type ‘Size’ [-Werror=format=] > > Oops. I've pushed a fix (at least, I hope it's a fix).
I don't think that works on LLP64 platforms like windows - long is 32bit there. That's basically why I proposed the z modifier to elog to encapsulate this in some other thread... Till then you'll have to cast to a known size. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers