Re: pgsql-server: Fix TAS assembly stuff for - Mailing list pgsql-committers

From Alvaro Herrera
Subject Re: pgsql-server: Fix TAS assembly stuff for
Date
Msg-id 20040924022420.GG26940@dcc.uchile.cl
Whole thread Raw
In response to Re: pgsql-server: Fix TAS assembly stuff for  (Neil Conway <neilc@samurai.com>)
List pgsql-committers
On Fri, Sep 24, 2004 at 12:15:23PM +1000, Neil Conway wrote:
> On Fri, 2004-09-24 at 11:53, Tom Lane wrote:
> > Ideally I'd like it warning-free on everything, but I'm not sure how
> > practical that is.  The main thing that non-gcc compilers tend to warn
> > about in my experience is "char *" vs "unsigned char *", of which there
> > are a lot of occurrences in and around the multibyte code.  This does
> > not really seem worth cleaning up at the moment.
>
> Per the recent GCC 4.0 report on -hackers, it seems GCC4 will now warn
> about char * vs. unsigned char *, so perhaps it is time to clean that
> up...

I've read on some changelog that starting from 3.4 it also gives more
(and more correct) warnings about type punning and strict aliasing
violations.  Could we also look at fixing those?

IMHO that's 8.1 material anyway ...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Porque Kim no hacia nada, pero, eso sí,
con extraordinario éxito" ("Kim", Kipling)


pgsql-committers by date:

Previous
From: Neil Conway
Date:
Subject: Re: pgsql-server: Fix TAS assembly stuff for
Next
From: dpage@pgfoundry.org (User Dpage)
Date:
Subject: pginstaller - pginst: Run contrib installations inside a transaction.