Bruce Momjian wrote:
> Joe, are your compiles still failing?

No. Tom fixed this I think.

Joe




Sun, 20 Jul 2003 10:53:05 -0700
Joe Conway <mail@joeconway.com>
Re: compile failures on cvs tip

Joe, are your compiles still failing?

---------------------------------------------------------------------------

Joe Conway wrote:
> I'm seeing ecpg related compile failures on cvs tip:
> 
> make[3]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg'
> make -C include all
> make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/include'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg/include'
> make -C pgtypeslib all
> make[4]: Entering directory `/opt/src/pgsql/src/interfaces/ecpg/pgtypeslib'
> [...snip...]
> i386-redhat-linux-gcc -O2 -g -Wall -Wmissing-prototypes 
> -Wmissing-declarations -fpic -I../../../../src/interfaces/ecpg/include 
> -I../../../../src/include/utils -I../../../../src/include 
> -I/usr/kerberos/include -g  -c -o timestamp.o timestamp.c -MMD
> timestamp.c: In function `tm2timestamp':
> timestamp.c:69: warning: implicit declaration of function `elog'
> timestamp.c:69: `ERROR' undeclared (first use in this function)
> timestamp.c:69: (Each undeclared identifier is reported only once
> timestamp.c:69: for each function it appears in.)
> timestamp.c: In function `PGTYPEStimestamp_from_asc':
> timestamp.c:314: warning: overflow in implicit constant conversion
> timestamp.c:318: warning: overflow in implicit constant conversion
> make[4]: *** [timestamp.o] Error 1
> make[4]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg/pgtypeslib'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/opt/src/pgsql/src/interfaces/ecpg'
> make[2]: *** [all] Error 2
> 
> I've seen it, starting from make clean, on two different machines 
> (although both are Red hat 9).
> 
> I found that adding
> 
> + #include "utils/elog.h"
> 
> in timestamp.c lets me compile, but I'm left with two warnings:
> 
> timestamp.c: In function `PGTYPEStimestamp_from_asc':
> timestamp.c:315: warning: overflow in implicit constant conversion
> timestamp.c:319: warning: overflow in implicit constant conversion
> 
> 
> Joe
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

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

Sun, 20 Jul 2003 13:53:13 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: compile failures on cvs tip