Re: tab-complete patch warnings

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: tab-complete patch warnings
Date: 2003-03-28 16:34:23
Message-ID: 200303281634.h2SGYN810738@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Good catch. Patch attached and applied.

Strange I didn't see that warning here, gcc 2.95.2.

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

Joe Conway wrote:
> I'm seeing:
>
> gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../src/interfaces/libpq -I../../../src/include -c -o
> tab-complete.o tab-complete.c -MMD
> tab-complete.c:414: warning: initialization makes integer from pointer
> without a cast
> tab-complete.c:422: warning: initialization makes integer from pointer
> without a cast
> tab-complete.c:428: warning: initialization makes integer from pointer
> without a cast
> tab-complete.c:431: warning: initialization makes integer from pointer
> without a cast
> tab-complete.c:434: warning: initialization makes integer from pointer
> without a cast
>
> Looks to me like the second attribute should be NO_SCHEMA instead of
> NULL in those lines.
>
> Joe
>
>

--
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

Attachment Content-Type Size
unknown_filename text/plain 3.2 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-03-28 16:35:41 Re: pgdump and START WITH ...
Previous Message Shridhar Daithankar 2003-03-28 16:15:53 Re: ECPG thread-safety