unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cvs head warning messages from gcc 3.3
@ 2003-05-20 21:50 James H. Cloos Jr.
  0 siblings, 0 replies; only message in thread
From: James H. Cloos Jr. @ 2003-05-20 21:50 UTC (permalink / raw)


While trying to upgrade, I got these warnings from src/coding.c:
(I'm running gentoo and using their emacs-cvs ebuild to track HEAD.)

The first two reference the CHAR_STRING macro.  

Which comparison it is complaing about, and whether it matters, I
cannot tell from looking at the macro.... :(

-JimC

gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_GTK  -I. -I/home/portage/portage/emacs-cvs-21.3.50/work/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium3 -mmmx -msse -O3 -pipe coding.c
coding.c: In function `decode_coding_emacs_mule':
coding.c:1000: warning: comparison is always true due to limited range of data type
coding.c:1011: warning: comparison is always true due to limited range of data type
In file included from coding.c:2685:
coding.c: At top level:
coding.c:2518: warning: passing arg of `encode_coding_iso2022' discards qualifiers from pointer target type
In file included from coding.c:1144:
coding.c:1088: warning: passing arg of `encode_coding_emacs_mule' discards qualifiers from pointer target type
In file included from coding.c:2088:
coding.c:1766: warning: passing arg of `decode_coding_iso2022' discards qualifiers from pointer target type
In file included from coding.c:1026:
coding.c:938: warning: passing arg of `decode_coding_emacs_mule' discards qualifiers from pointer target type
In file included from coding.c:3259:
coding.c:3186: warning: passing arg of `decode_eol' discards qualifiers from pointer target type

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-20 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-20 21:50 cvs head warning messages from gcc 3.3 James H. Cloos Jr.

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