[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locale: fix compilation error in C++ mode on MSVC
From: |
Bruno Haible |
Subject: |
Re: locale: fix compilation error in C++ mode on MSVC |
Date: |
Fri, 13 Dec 2019 13:19:26 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; ) |
[Re-adding bug-gnulib to the CC. Please keep the conversation in public.]
Gisle Vanem wrote:
> > But the autoconfiguration no longer sets REPLACE_STRUCT_LCONV=1 on MSVC.
>
> But for MinGW it does? Well, my MinGW-TDM does not have
> 'int_p_cs_precedes' either. So why is MSVC treated so special?
The C++ header files of MSVC have a different structure than the C++ header
files of mingw. With the C++ header files of MSVC I encountered an error
that was hard to fix in a way other than the committed patch. The C++ header
files of mingw don't have this issue.
The error message you showed clearly comes from MSVC.
Bruno