Re: compiler warnings in ODBC - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: compiler warnings in ODBC
Date
Msg-id 200111020119.fA21JNV11557@candle.pha.pa.us
Whole thread Raw
In response to Re: compiler warnings in ODBC  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
> Bruce Momjian wrote:
> > 
> > Can someone look at this compiler warning I am seeing in ODBC:
> > 
> > ---------------------------------------------------------------------------
> > 
> > gcc -O2 -pipe -m486 -Wall -Wmissing-prototypes -Wmissing-declarations -g -Wall -
> > O1 -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../../src/include
> > -I/usr/local/include/readline -I/usr/contrib/include -DODBCINSTDIR='"/usr/local/
> > pgsql/etc"'  -c -o info.o info.c
> > info.c: In function `PGAPI_ForeignKeys':
> > info.c:2901: warning: `pkey_text' might be used uninitialized in this function
> > info.c:2903: warning: `fkey_text' might be used uninitialized in this function
> > info.c:2905: warning: `pkt_text' might be used uninitialized in this function
> > info.c:2907: warning: `fkt_text' might be used uninitialized in this function
> > 
> 
> Hmm you seem to be compiling it with multibyte enabled.
> OK I would suppress the warnings.

Thanks.

> BTW why are people configuring with --enable-odbc ?

I enable all I can so I can check more of the code during a compile.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Another planner/optimizer question...
Next
From: Chris Bitmead
Date:
Subject: OID problem 7.2