fix for strict-alias warnings

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: "PG Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: fix for strict-alias warnings
Date: 2003-10-11 14:00:16
Message-ID: 007201c38fff$ffed2570$6401a8c0@DUNSLANE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


This patch will stop gcc from issuing warnings about type-punned objects when -fstrict-aliasing is turned on, as it is in the latest gcc when you use -O2

enjoy

andrew

Attachment Content-Type Size
strict-alias.patch application/octet-stream 5.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-11 15:26:37 Re: compile warning
Previous Message Andrew Dunstan 2003-10-11 13:57:13 Re: compile warning

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-10-11 16:31:03 Re: fix for strict-alias warnings
Previous Message Bruce Momjian 2003-10-10 15:52:27 Re: [Fwd: Make psql use all pretty print options]