Skip site navigation (1) Skip section navigation (2)

Re: Suppress compiler warnings on mingw

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: Suppress compiler warnings on mingw
Date: 2008-03-14 21:18:22
Message-ID: 200803142218.23658.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-patches
ITAGAKI Takahiro wrote:
> DWORD is an alias for 'unsigned long' in 32bit Windows.

Then try using %lu and no casts.  That should get rid of the warnings the 
proper way.

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2008-03-16 23:23:27
Subject: Re: Hash Index Build Patch v2
Previous:From: JustinDate: 2008-03-14 18:45:47
Subject: Re: pgbench not setting scale size correctly?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group