[Date Prev][Date Next] [Chronological] [Thread] [Top]

libldap/libldap_r UTF Compilation Warning (ITS#2955)



Full_Name: Jason Raneses
Version: 2.2.5
OS: Windows XP
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (206.54.156.254)


When compiling libldap and libldap_r using MinGW, I received the following
warnings during the compilation of utf-8-conv.c.  I'm using gcc 3.3.1.

mgcc -g -O2 -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap
-I/usr/local/mingw/include -I/usr/include/w32api -DLDAP_LIBRARY -c utf-8-conv.c
-DDLL_EXPORT -DPIC -o .libs/utf-8-conv.lo
utf-8-conv.c: In function `ldap_x_wc_to_utf8':
utf-8-conv.c:188: warning: comparison is always false due to limited range of
data type
utf-8-conv.c:194: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:196: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:198: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:200: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:206: warning: comparison is always false due to limited range of
data type
utf-8-conv.c:220: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:227: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:235: warning: comparison is always true due to limited range of
data type
utf-8-conv.c:244: warning: comparison is always true due to limited range of
data type