Re: Compiler warnings in current code - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Compiler warnings in current code
Date
Msg-id 3CEDA094.6656E7CC@tpf.co.jp
Whole thread Raw
In response to Compiler warnings in current code  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Compiler warninnoop  (Kristis Makris <kristis.makris@datasoft.com>)
List 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/

pgsql-odbc by date:

Previous
From: "Patrick Hatcher"
Date:
Subject: Re: int8 defined as text in MS Access?
Next
From: "Henshall, Stuart - WCP"
Date:
Subject: Re: I want to store a .jpeg file in a table