From: michael@cadilhac.name (Michaël Cadilhac)
To: emacs-devel@gnu.org
Subject: Re: Long standing warnings in C files.
Date: Tue, 18 Sep 2007 15:49:40 +0200 [thread overview]
Message-ID: <874phsaxsb.fsf@cadilhac.name> (raw)
In-Reply-To: 878x76fyxv.fsf@cadilhac.name
[-- Attachment #1.1: Type: text/plain, Size: 1594 bytes --]
michael@cadilhac.name (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. |
`---- michael.cadilhac@gmail.com | -- Michel Clavel - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-09-18 13:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-16 14:49 Long standing warnings in C files Michaël Cadilhac
2007-09-18 13:49 ` Michaël Cadilhac [this message]
2007-09-19 10:12 ` Michaël Cadilhac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874phsaxsb.fsf@cadilhac.name \
--to=michael@cadilhac.name \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.