#ifdef VCMI_ANDROID // boost will crash without"> #ifdef VCMI_ANDROID // boost will crash without">

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002785VCMIOtherpublic2017-09-07 19:432017-09-07 19:43
Assigned To 
PlatformLinux / AndroidOSOS Version
Product Version0.99 
Target VersionFixed in Version 
Summary0002785: Avoid crash when LC_ALL / LANG is not set
DescriptionI working on Linux snap package and VCMI crash with "locale::facet::_S_create_c_locale name not valid" if encoding not set so I have to manually set "LC_ALL: C.UTF-8" to avoid crash.

Also Android code also have following workaround in CMT:
    // boost will crash without this
    setenv("LANG", "C", 1);

I guess there is good chance that we can avoid all of this by setting some options to our boost::locale usage.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-09-07 19:43 SXX New Issue

Site | Forums | Wiki | Slack | GitHub

Copyright © 2000 - 2021 MantisBT Team
Hosting provided by DigitalOcean