Re: more compile warnings

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: rbt(at)zort(dot)ca, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: more compile warnings
Date: 2002-12-07 03:57:56
Message-ID: 200212070357.gB73vvs17046@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Rod, can you comment on these warnings Joe Conway's compiler is showing?
I don't see the warnings with gcc, but clearly they look like problems.

I can just assign a NULL on definition, but I thought you should take a
look.

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

Joe Conway wrote:
> Hi Bruce,
>
> I just sync'd up/make clean/make all and get this:
>
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../src/include -c -o typecmds.o typecmds.c -MMD
> typecmds.c: In function `AlterDomainAddConstraint':
> typecmds.c:1237: warning: `ccbin' might be used uninitialized in this function
> typecmds.c: In function `get_rels_with_domain':
> typecmds.c:1450: warning: `rtc' might be used uninitialized in this function

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-12-07 04:06:43 Re: IPv6 patch rejected
Previous Message Justin Clift 2002-12-07 03:23:08 Re: hardware needed ?