unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* differ in signdness warnings.
@ 2005-12-02 15:03 Jan D.
  2005-12-02 17:32 ` Romain Francoise
  2005-12-02 18:40 ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Jan D. @ 2005-12-02 15:03 UTC (permalink / raw)


Hello.

With gcc >= 4.0 I get a lot of these when compiling Emacs:

coding.c:3471: varning: pointer targets in passing argument 1 of 
"safe_bcopy" differ in signedness

coding.c:3471: varning: pointer targets in passing argument 2 of 
"safe_bcopy" differ in signedness

frame.c:2107: varning: pointer targets in passing argument 1 of 
"strncmp" differ in signedness

and so on.

Is there anything said about what to do about these?  Should we ignore 
them or add casts where appropriate?  Introducing a SSDATA, which is 
(char *)SDATA, would be a good idea.

    Jan D.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-04  3:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 15:03 differ in signdness warnings Jan D.
2005-12-02 17:32 ` Romain Francoise
2005-12-03  1:20   ` Richard M. Stallman
2005-12-03  9:25     ` Eli Zaretskii
2005-12-04  3:08       ` Richard M. Stallman
2005-12-02 18:40 ` Eli Zaretskii
2005-12-03 14:21   ` Jan Djärv
2005-12-03 15:58   ` Richard M. Stallman
2005-12-03 16:07     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).