Re: compile warnings in CVS HEAD? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: compile warnings in CVS HEAD?
Date
Msg-id 3501.1062642605@sss.pgh.pa.us
Whole thread Raw
In response to compile warnings in CVS HEAD?  (Neil Conway <neilc@samurai.com>)
Responses Re: compile warnings in CVS HEAD?
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> I'm seeing the following with the current CVS code on my Linux dev box:

> In file included from bootparse.y:340:
> lex.Int_yy.c:1832: warning: no previous prototype for `Int_yyget_lineno'
> lex.Int_yy.c:1841: warning: no previous prototype for `Int_yyget_in'
> ...etc...

These are flex's fault.  AFAICT flex 2.5.31 is a long way short of being
production quality.  I recommend reverting to 2.5.4.

> tablecmds.c: In function `validateForeignKeyConstraint':
> tablecmds.c:3546: warning: dereferencing type-punned pointer will break
> strict-aliasing rules

Hm.  Got any idea what these are really complaining about?  I see no
such gripes with the gcc versions I use, but I wouldn't be surprised
if gcc 3.3 is trying to tighten up.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Transaction status in default psql prompt?
Next
From: Adam Kavan
Date:
Subject: Stats Collector Error 7.4beta1 and 7.4beta2