Compiler warnings in current code

Поиск
Список
Период
Сортировка
Искать

Compiler warnings in current code

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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

-- 
Peter Eisentraut   peter_e@gmx.net

Re: Compiler warnings in current code

От:
Hiroshi Inoue <Inoue@tpf.co.jp>
Дата:
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/

Re: Compiler warninnoop

От:
Kristis Makris <kristis.makris@datasoft.com>
Дата:
Slightly off-topic, but am I the only one getting those random "noop"s
in mail I receive from this list?

There's a "noop" put in the Subject line, and I've seen it in text
before, too. Does anybody know which type of mail-server would be
responsible for that? I've _never_ seen this while sending/receiving
mail strictly through qmail, but I'm guessing some other stmp server is
sending those out. Postfix? Sendmail?

Is anybody else having their inboxes polluted with them "noop"s?

On Thu, 2002-05-23 at 19:08, Hiroshi Inoue wrote:
> 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/
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 
-- 
---------------------------------------------------------------------
Kristis Makris				DataSoft Corporation
kristis.makris@datasoft.com		http://www.datasoft.com
(480) 763-5777 x412
---------------------------------------------------------------------

FAQ