unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compiler warnings in latest CVS
@ 2008-01-07 20:21 Leo
  2008-01-26 13:35 ` Eli Zaretskii
  2008-01-26 19:33 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Leo @ 2008-01-07 20:21 UTC (permalink / raw)
  To: emacs-devel

Hi There,

I am seeing tons of warning messages similar to the following when
compiling Emacs in Fedora 8.

,----
| coding.c:3475: warning: pointer targets in passing argument 1 of 'safe_bcopy' differ in signedness
`----

The compiler warnings for .el files have been significantly reduced but
the warnings of .c files have increased considerably.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

          Use the best OS -- http://www.fedoraproject.org/

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

* Re: Compiler warnings in latest CVS
  2008-01-07 20:21 Compiler warnings in latest CVS Leo
@ 2008-01-26 13:35 ` Eli Zaretskii
  2008-01-26 19:33 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-01-26 13:35 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

> From: Leo <sdl.web@gmail.com>
> Date: Mon, 07 Jan 2008 20:21:37 +0000
> 
> I am seeing tons of warning messages similar to the following when
> compiling Emacs in Fedora 8.
> 
> ,----
> | coding.c:3475: warning: pointer targets in passing argument 1 of 'safe_bcopy' differ in signedness
> `----

Does it help to cast the arguments of 'safe_bcopy' to (char *) ?

> the warnings of .c files have increased considerably.

Please report all the warnings, and thanks.

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

* Re: Compiler warnings in latest CVS
  2008-01-07 20:21 Compiler warnings in latest CVS Leo
  2008-01-26 13:35 ` Eli Zaretskii
@ 2008-01-26 19:33 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2008-01-26 19:33 UTC (permalink / raw)
  To: Leo; +Cc: emacs-devel

> I am seeing tons of warning messages similar to the following when
> compiling Emacs in Fedora 8.

> ,----
> | coding.c:3475: warning: pointer targets in passing argument 1 of 'safe_bcopy' differ in signedness
> `----

These are harmless and are normally turned off by -Wno-pointer-sign, so
somehow you seem to have used other compilation options.


        Stefan

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

end of thread, other threads:[~2008-01-26 19:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 20:21 Compiler warnings in latest CVS Leo
2008-01-26 13:35 ` Eli Zaretskii
2008-01-26 19:33 ` Stefan Monnier

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).