From: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: compiler warnings in ODBC |
Date: | 2001-11-02 00:48:38 |
Message-ID: | 3BE1ED66.BC27454E@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-11-02 01:19:23 | Re: compiler warnings in ODBC |
Previous Message | Philip Warner | 2001-11-02 00:02:55 | Re: Another planner/optimizer question... |