bug-gnu-utils
[Top][All Lists]
Advanced

[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.

Attachment: gettext-02.diff
Description: Text document

Attachment: ChangeLog
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]