gettext 0.14.5 - some warnings on compiling

Eric Blake ebb9@byu.net
Fri Jan 26 01:46:00 GMT 2007


-----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@byu.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/



More information about the Cygwin mailing list