emacs-devel
[Top][All Lists]
Advanced

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

cvs head warning messages from gcc 3.3


From: James H. Cloos Jr.
Subject: cvs head warning messages from gcc 3.3
Date: 20 May 2003 17:50:36 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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






reply via email to

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