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

Re: fix for strict-alias warnings

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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-14 19:09:24
Message-ID: 200310141909.h9EJ9Og20082@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Tom Lane wrote:
> "Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> > Of course, the linux kernel is aimed at a limited set of compilers - as I
> > understand it basically gcc although it has been made to build with Intel
> > compilers - which makes things somewhat easier for them. What is our target
> > set of compilers? What is our target version of C?
> 
> "Pretty much anything that speaks ANSI C" is my usual feeling about
> that.  As yet we have not heard of any non-gcc compilers in which this
> is a problem, although you have a point that some compiler somewhere may
> do this and not have a way to turn it off :-(

I now understand the gcc issues.  Sorry for getting confused.

I have removed the void* cast from MemSet until we understand this issue
better.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2003-10-14 19:17:46
Subject: Re: fix for strict-alias warnings
Previous:From: Bruce MomjianDate: 2003-10-14 19:05:14
Subject: Re: postgres --help-config

pgsql-patches by date

Next:From: Andrew DunstanDate: 2003-10-14 19:17:46
Subject: Re: fix for strict-alias warnings
Previous:From: Manfred SpraulDate: 2003-10-14 19:00:15
Subject: Re: fix for strict-alias warnings

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