Re: compiler warnings in ODBC

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: compiler warnings in ODBC
Дата
Msg-id 3BE1ED66.BC27454E@tpf.co.jp
обсуждение исходный текст
Ответ на compiler warnings in ODBC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: compiler warnings in ODBC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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.

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

regards,
Hiroshi Inoue


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Mr. Shannon Aldinger"
Дата:
Сообщение: Re: Posgresql 7.2b1 crashes
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Serious performance problem