Re: Compiler warnings fix

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Compiler warnings fix
Date: 2009-01-26 13:01:48
Message-ID: 497DB43C.2090205@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

ITAGAKI Takahiro wrote:
> Here is a patch to surpress compiler warnings in pg_locale.c and pg_regress.c.
>
> There are following warnings if nls is enabled:
> pg_locale.c: In function `pg_perm_setlocale':
> pg_locale.c:161: warning: assignment discards qualifiers from pointer target type
> and if nls is disabled:
> pg_locale.c:615: warning: 'IsoLocaleName' defined but not used
>
> There is also a warning in pg_regress.c:
> pg_regress.c: In function `wait_for_tests':
> pg_regress.c:1367: warning: passing arg 2 of `GetExitCodeProcess' from incompatible pointer type

Which platform, which compiler, what configure options?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2009-01-26 13:42:05 Re: 8.4 release planning (was Re: [COMMITTERS] pgsql: Automatic view update rules)
Previous Message Peter Eisentraut 2009-01-26 12:30:42 Re: [PATCH] reloptions - RELOPT_KIND_ALL