在 2021/1/23 上午10:21, Liu Hao 写道:
> This was done with the following commands:
>
> sed -Ei 's/^_(str|wcs)lwr\>.*$/&\n\1lwr == _\1lwr/' `grep -Elr
> '\<_strlwr\>' mingw-w64-crt`
> git checkout mingw-w64-crt/lib-common/api-ms-win-crt-string-l1-1-0.def
>
> Signed-off-by: Liu Hao
> ---
>
Thund
This was done with the following commands:
sed -Ei 's/^_(str|wcs)lwr\>.*$/&\n\1lwr == _\1lwr/' `grep -Elr '\<_strlwr\>'
mingw-w64-crt`
git checkout mingw-w64-crt/lib-common/api-ms-win-crt-string-l1-1-0.def
Signed-off-by: Liu Hao
---
mingw-w64-crt/lib-common/msvcr120_app.def.in | 2 ++
ming
It seems like the MinGW-w64 headers provide a declaration for strlwr_l but
it doesn't really work. On MSDN I do not see anything about that function,
but I do see the similarly named function _strlwr_l.
_strlwr_l is defined in libmsvcrt.a, but it is not mentioned in the
MinGW-w64 headers. That s
Pretty sure you need to include or at least according to
msdn
On Fri., Jan. 22, 2021, 2:34 p.m. Kacvinsky, Tom,
wrote:
> This code
>
> #include
>
> int main(int argc, char* argv[])
> {
> __iswcsymf(0);
> return 0;
> }
>
> compiled with this command
>
> g++ -o test test.cpp
>
> Fails with
This code
#include
int main(int argc, char* argv[])
{
__iswcsymf(0);
return 0;
}
compiled with this command
g++ -o test test.cpp
Fails with
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
D:\TEMP\ccmM3An6.o:test.cpp:(.text+0x1c): und