git/list[1] front-page[2] threads[3] people[4] search[5] about
 

GIT 1.5.0-rc2 compiler warning

From
SNSungHyun Nam <goweol@gmail.com>
Date
Jan 22, 2007, 01:08 UTC
Message-ID
<45B40E7E.3030706@gmail.com>
Hello,
Use CYGWIN.

gcc -o utf8.o -c -O2 -DNO_D_TYPE_IN_DIRENT -DNO_SYMLINK_HEAD -DNO_FAST_WORKING_DIRECTORY -DNO_IPV6 -DSHA1_HEADER='<openssl/sha.h>' -DNO_STRCASESTR utf8.c utf8.c: In function `wcwidth': utf8.c:148: warning: comparison is always false due to limited range of data type utf8.c:148: warning: comparison is always true due to limited range of data type utf8.c:149: warning: comparison is always false due to limited range of data type utf8.c:149: warning: comparison is always true due to limited range of data type utf8.c: In function `reencode_string': utf8.c:313: warning: passing arg 2 of `libiconv' from incompatible pointer type

'gcc -E .... utf8.c' gives me:

# 325 "/bin/../lib/gcc/i686-pc-cygwin/3.4.4/include/stddef.h" 3 4 typedef short unsigned int wchar_t;

Regards, namsh

Next: Junio C Hamano
Message 1 of 3 in “GIT 1.5.0-rc2 compiler warning”
  1. SungHyun NamJan 22, 2007
  2. Junio C HamanoJan 22, 2007
  3. Robin RosenbergJan 22, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.