Re: fix for strict-alias warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PG Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix for strict-alias warnings
Date: 2003-10-11 17:02:53
Message-ID: 27250.1065891773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Patch applied. Thanks.

I hope you applied it with the additional changes you asked for ---
at the very least, cast to (void*) and then to the destination type.
As-is, the patch simply suppresses all error detection for these
conversions, which seems a bad move.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-11 17:13:46 Re: fix for strict-alias warnings
Previous Message Peter Eisentraut 2003-10-11 17:01:55 Re: pg_resetxlog fixed

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-10-11 17:13:46 Re: fix for strict-alias warnings
Previous Message Bruce Momjian 2003-10-11 16:31:03 Re: fix for strict-alias warnings