Re: [HACKERS] Compile failure in ecpg/pgtypeslib/numeric.c

2003-07-03 Thread Michael Meskes
On Wed, Jul 02, 2003 at 11:49:25PM +0200, Kurt Roeckx wrote: It seems someone removed some include files in revision 1.11 from interfaces/ecpg/pgtypeslib/numeric.c. One of them was limits.h, which is needed for INT_MAX and LONG_MAX. Hmm, I added postgres_fe.h and removed all includes that I

Re: [HACKERS] compile failure in ecpg

2003-07-03 Thread Michael Meskes
On Wed, Jul 02, 2003 at 04:20:09PM -0400, Greg Stark wrote: bash-2.05b$ flex -V flex 2.5.31 I have 2.5.4. Michael -- Michael Meskes Email: Michael at Fam-Meskes dot De ICQ: 179140304, AIM: michaelmeskes, Jabber: [EMAIL PROTECTED] Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use

[HACKERS] compile failure in ecpg

2003-07-02 Thread Greg Stark
Ok, trying again with integer datetimes off and recode off it gets a bit further: /usr/bin//flex -o'pgc.c' pgc.l gcc -O0 -g -pg -DLINUX_PROFILE -g -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-error -I./../include -I. -I../../../../src/include -DMAJOR_VERSION=3 -DMINOR_VERSION=0

Re: [HACKERS] compile failure in ecpg

2003-07-02 Thread Michael Meskes
On Wed, Jul 02, 2003 at 02:00:49PM -0400, Greg Stark wrote: Ok, trying again with integer datetimes off and recode off it gets a bit further: What exactly was special on your site? This surely works for me. pgc.c:3429: warning: no previous prototype for `yyget_lineno' ... These are

Re: [HACKERS] compile failure in ecpg

2003-07-02 Thread Greg Stark
Michael Meskes [EMAIL PROTECTED] writes: On Wed, Jul 02, 2003 at 02:00:49PM -0400, Greg Stark wrote: Ok, trying again with integer datetimes off and recode off it gets a bit further: What exactly was special on your site? This surely works for me. pgc.c:3429: warning: no previous

[HACKERS] Compile failure in ecpg/pgtypeslib/numeric.c

2003-07-02 Thread Kurt Roeckx
It seems someone removed some include files in revision 1.11 from interfaces/ecpg/pgtypeslib/numeric.c. One of them was limits.h, which is needed for INT_MAX and LONG_MAX. Readding it fixes it. Kurt ---(end of broadcast)--- TIP 5: Have you

Re: [HACKERS] Compile failure in ecpg/pgtypeslib/numeric.c

2003-07-02 Thread Bruce Momjian
#include limits.h readded. Thanks. --- Kurt Roeckx wrote: It seems someone removed some include files in revision 1.11 from interfaces/ecpg/pgtypeslib/numeric.c. One of them was limits.h, which is needed for INT_MAX

Re: [HACKERS] compile failure in ecpg

2003-07-02 Thread Tom Lane
Greg Stark [EMAIL PROTECTED] writes: Perhaps it's a bug in flex? I have: bash-2.05b$ flex -V flex 2.5.31 There's your problem. See http://fts.postgresql.org/db/msg.html?mid=1366520 Personally I'm still running 2.5.4 ... regards, tom lane