Open nwu-ableton opened 4 years ago
I have the same issue with English/Lithuanian language. The function LCMapStringA
fails with ERROR_INSUFFICIENT_BUFFER
. If I increase the buffer m_lower_map
4 times the function LCMapStringA
returns number 512
Summary
The following program aborts with an assertion failure on Windows 10 if the default language/region is set to
English/Germany
:Assertion:
The assertion does not happen if the language/region is set to
English/United States
.Also see this StackOverflow thread for another example of someone encountering this issue.
Details
Boost version
Boost version: 1.74.0, as downloaded from sourceforge Binaries:
boost_regex-vc142-mt-gd-x64-1_74.lib
/.dll
fromlib64-msvc-14.2
directoryOperating system
Edition: Windows 10 Pro for Workstations System type: 64-bit operating system Version: 1809 OS build: 17763.1397
Compiler & flags
Edition: Microsoft Visual Studio Professional 2019 Version: 16.7.3
Compiler flags/project settings set to the default for a newly created blank C++ project in VS 2019, aside from adding the
BOOST_ALL_NO_LIB
define and adding the necessary include path andlib
file to compile the code.The resulting compiler command line arguments are:
Linker command line arguments:
Language settings
Problematic settings (assertion triggered)
Working settings (no assertion)