public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: SungHyun Nam <goweol@gmail•com>
To: Junio C Hamano <junkio@cox•net>
Cc: GIT <git@vger•kernel.org>
Subject: GIT 1.5.0-rc2 compiler warning
Date: Mon, 22 Jan 2007 10:08:14 +0900	[thread overview]
Message-ID: <45B40E7E.3030706@gmail.com> (raw)

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

             reply	other threads:[~2007-01-22  1:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-22  1:08 SungHyun Nam [this message]
2007-01-22  1:13 ` GIT 1.5.0-rc2 compiler warning Junio C Hamano
2007-01-22 20:44   ` Robin Rosenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B40E7E.3030706@gmail.com \
    --to=goweol@gmail$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=junkio@cox$(echo .)net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox