Re: Compiler warnings in current code

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Compiler warnings in current code
Date: 2002-05-24 02:08:20
Message-ID: 3CEDA094.6656E7CC@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Peter Eisentraut wrote:
>
> convert.c: In function `copy_statement_with_parameters':
> convert.c:1752: warning: assignment discards qualifiers from pointer target type
>
> and
>
> multibyte.c: In function `pg_mbschr':
> multibyte.c:267: warning: return discards qualifiers from
> pointer target type

I know it and both are const -> (without const) cases.
I can remove the warnings by adding cast but I don't
think it's a proper way. I'd like to fix it before
beta.

regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2002-05-24 08:29:17 Re: I want to store a .jpeg file in a table
Previous Message Patrick Hatcher 2002-05-23 18:30:52 Re: int8 defined as text in MS Access?