delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/25/20:47:17

X-Spam-Check-By: sourceware.org
Message-ID: <45B95DA2.7060301@byu.net>
Date: Thu, 25 Jan 2007 18:47:14 -0700
From: Eric Blake <ebb9 AT byu DOT net>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: VASKO <vasko2k AT hot DOT ee>, cygwin AT cygwin DOT com
Subject: Re: gettext 0.14.5 - some warnings on compiling
References: <8613865 DOT post AT talk DOT nabble DOT com> <45B8B094 DOT 3020805 AT byu DOT net> <45B8B138 DOT 4060100 AT byu DOT net> <15210426924 DOT 20070125172637 AT hot DOT ee>
In-Reply-To: <15210426924.20070125172637@hot.ee>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://cygwin.com/acronyms/#PPIOSPE - redirected to the list

According to VASKO on 1/25/2007 7:26 AM:
> Hello Eric,
> 
> Thursday, January 25, 2007, 4:31:36 PM, you wrote:
> 
>>>> ===================================================================
>>>> ./l10nflist.c: In function `_nl_make_l10nflist':
>>>> ./l10nflist.c:343: warning: assignment makes pointer from integer without a
>>>> cast
>>> Consider upgrading.  The latest version of gettext is 0.16.1.
>>>
> 
> EB> Or for that matter, explain why you need to compile from source.  Cygwin
> EB> comes with gettext 0.15 precompiled, so that you need not worry about
> EB> compiling it yourself.
> 
> I  try to compile VideoLAN (aka VLC media player) Cygwin-based version
> from  SVN.  It  required gettext 0.14.5. I just run 'make src' command
> and  download  from  http://ftp.gnu.org/gnu  automatically stared with
> curl.  Don't  ask  me,  why.  Patch for l10nflist.c is trivial, I just
> change  some  arguments types to 'const char*' instead of 'char*'. But
> other warnings still appears in gettext 0.16.1 too. I am not sure that
> 'comparison  is  always  true'  (or false) is absolutely safe for main
> program stability.
> 
> 

It depends on whether the warning was masking a bug or not.  But you are
better off reporting such bugs to the upstream maintainers - oftentimes,
that warning indicates a true bug where someone has compiled on Linux and
used wchar_t when they should have used wint_t, but other times, it is
benign.  What makes this particular error annoying is that there is no way
(except in CVS gcc) to disable it when it is a false positive, and
restructuring the comparison to avoid the warning can sometimes be rather
difficult.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFuV2h84KuGfSFAYARAofNAJ0Tl2dR97HWFp2o4bRd+UQeJa4LogCbB1BJ
vsdKxtOHt5LK6d6/5FVhkH0=
=LBeb
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019