« Return to Thread: gettext 0.14.5 - some warnings on compiling

gettext 0.14.5 - some warnings on compiling

by -VASKO- :: Rate this Message:

Reply to Author | View in Thread

===================================================================
./l10nflist.c: In function `_nl_make_l10nflist':
./l10nflist.c:343: warning: assignment makes pointer from integer without a cast
===================================================================
../../gettext-runtime/intl/l10nflist.c: In function `_nl_make_l10nflist':
../../gettext-runtime/intl/l10nflist.c:343: warning: assignment makes pointer from integer without a cast
===================================================================
Making all in libgrep
dfa.c: In function `parse_bracket_exp_mb':
dfa.c:580: warning: comparison is always false due to limited range of data type
dfa.c:615: warning: comparison is always true due to limited range of data type
===================================================================
In file included from regex.c:582:
regex.c: In function `byte_regex_compile':
regex.c:3211: warning: comparison is always true due to limited range of data type
===================================================================

I get warnings listed above when compiling gettext 0.14.5-1. I found fix for l10nflist.c here:

http://gcc.gnu.org/ml/gcc/2006-09/msg00646.html

But what about other warnings? I know its appeared because sizeof(wchar_t) on Linux is 4, but on Windows is 2.
Anybody have fixes for these warnings? Maybe I can ignore them? Any ideas or comments? Can you help me?
Thanks a lot.

 « Return to Thread: gettext 0.14.5 - some warnings on compiling