[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mbrtowc.m4 on mingw32
From: |
Bruno Haible |
Subject: |
mbrtowc.m4 on mingw32 |
Date: |
Mon, 4 Jul 2005 13:18:25 +0200 |
User-agent: |
KMail/1.7.2 |
Hi,
On mingw32, mbrtowc.m4 "detects" that mbrtowc() exists, leading to
link errors. Actually, mbrtowc() does not exist on this system,
it's only declared in <wchar.h> but not actually implemented under
this name. config.log shows this:
configure:26506: checking whether mbrtowc and mbstate_t are properly declared
configure:26527: i586-mingw32msvc-gcc -Wall -o conftest.exe -g -O2
conftest.c >&5
conftest.c: In function `main':
conftest.c:86: warning: the address of `mbrtowc', will always evaluate as
`true'
configure:26533: $? = 0
The appended patch fixes it. OK, Paul?
Bruno
mbrtowc-mingw32
Description: Text Data
- mbrtowc.m4 on mingw32,
Bruno Haible <=