emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

differ in signdness warnings.


From: Jan D.
Subject: differ in signdness warnings.
Date: Fri, 02 Dec 2005 16:03:40 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]