Re: ecpg compile error on AIX

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, <pgsql-hackers(at)postgresql(dot)org>, Michael Meskes <meskes(at)postgresql(dot)org>
Subject: Re: ecpg compile error on AIX
Date: 2002-01-08 00:05:03
Message-ID: Pine.LNX.4.30.0201071900210.8360-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian writes:

> > It occurs to me that we ought to add -Wpointer-arith to our standard
> > gcc options, so that this sort of mistake will be caught sooner in
> > future.

I agree with that. Actually, I could never imagine how one would use
sizeof(void*) in the first place. I guess one can.

> I added this to my Makefile.custom.

I've had -Wpointer-arith and -Wcast-align in my Makefile.custom for a
year, but apparently just last week I didn't do any builds where I
actually paid attention. :-/

Btw., I've never seen any problems related to -Wcast-align? Is the TODO
item obsolete or is it platform-related?

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-08 00:08:54 Re: ecpg compile error on AIX
Previous Message Oleg Bartunov 2002-01-07 23:49:14 Re: RC1 time?