[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] gettext 0.14.1 - mbrtowc.m4
From: |
Manu |
Subject: |
[PATCH] gettext 0.14.1 - mbrtowc.m4 |
Date: |
Sun, 23 May 2004 13:47:52 +0200 |
The "mbrtowc" test doesn't fail as it should:
#include <wchar.h>
int
main ()
{
mbstate_t state; return ! (sizeof state && mbrtowc);
}
gcc -g -W -Wall -c .\main.c -o .\main.o
.\main.c: In function `main':
.\main.c:5: warning: the address of `mbrtowc', will always evaluate as `true'
gcc -g ./main.o -o ./mbrtowc.exe
The attached diff against gettext-tools/m4/mbrtowc.m4 fixes the issue.
Thanks for your attention.
Manu.
gettext-02.diff
Description: Text document
ChangeLog
Description: Binary data
- [PATCH] gettext 0.14.1 - mbrtowc.m4,
Manu <=