Re: silence GCC4 warning

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil Conway <neilc(at)samurai(dot)com>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: silence GCC4 warning
Date: 2005-07-04 14:38:58
Message-ID: 200507041638.59009.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> AFAICT, gcc4's default behavior is to warn about
>
> int foo;
>
> somefunc(&foo);

A simple test shows that this is not the case, even with lots of -W
options.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-07-04 14:42:20 Re: contrib/pgcrypto patch for OpenSSL 0.9.8
Previous Message Marko Kreen 2005-07-04 14:37:22 Re: contrib/pgcrypto patch for OpenSSL 0.9.8