emacs-pretest-bug
[Top][All Lists]
Advanced

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

compile waring


From: 山本和彦
Subject: compile waring
Date: Thu, 04 Dec 2003 16:21:10 +0900 (JST)

Hello, 

I'm using Emacs of CVS version on NetBSD. While compiling, gcc
displays many warings like this:

----
%gcc -c -I/usr/X11R6/include -I/usr/pkg/include -I/usr/local/include 
-L/usr/pkg/lib -L/usr/local/lib -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
-I/home/kazu/work/emacs/src -I/usr/X11R6/include -I/usr/pkg/include 
-I/usr/local/include -L/usr/pkg/lib -L/usr/local/lib -I/usr/X11R6/include -g 
-O2 coding.c
coding.c: In function `decode_coding_emacs_mule':
coding.c:1013: warning: comparison is always true due to limited range of data 
type
coding.c:1027: warning: comparison is always true due to limited range of data 
type
----

All warnings come from the CHAR_STRING macro defined in charset.h. This may be
a minor problem but I will appreciate if someone fix this warning.

The version of my gcc is 3.3.2.

% gcc --version
gcc (GCC) 3.3.2 (NetBSD nb1 20031026)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

--Kazu




reply via email to

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