[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Long standing warnings in C files.
From: |
Michaël Cadilhac |
Subject: |
Re: Long standing warnings in C files. |
Date: |
Tue, 18 Sep 2007 15:49:40 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> There's some long-standing warnings in xterm.c and coding.c that we
> probably should get rid of.
>
> I don't think the following patch could break anything, but I prefer
> to ask.
>
> Warnings :
>
> coding.c:4468: warning: passing argument 1 of
> 'detect_eol_type_in_2_octet_form' discards qualifiers from pointer target type
> coding.c:4471: warning: passing argument 1 of
> 'detect_eol_type_in_2_octet_form' discards qualifiers from pointer target type
> coding.c:4474: warning: passing argument 1 of 'detect_eol_type' discards
> qualifiers from pointer target type
> coding.c: In function 'detect_coding_system':
> coding.c:6603: warning: passing argument 1 of 'detect_eol_type' discards
> qualifiers from pointer target type
> xterm.c: In function 'handle_one_xevent':
> xterm.c:6644: warning: passing argument 2 of 'note_mouse_movement' from
> incompatible pointer type
> xterm.c:6677: warning: passing argument 2 of 'note_mouse_movement' from
> incompatible pointer type
> If no one complains, I'll install that in a few days.
Uh oh, only one day before my free will decides that a few days has
elapsed, hence launching the (nearly) unreversable procedure of
installing the proposed patch! :-)
--
| Michaël `Micha' Cadilhac | Ajoutez du whisky |
| http://michael.cadilhac.name | à n'importe quel texte, |
| JID/MSN: | ça vous fera un beau pangramme. |
`---- address@hidden | -- Michel Clavel - --'
pgpq0wsz06r_p.pgp
Description: PGP signature