[LLVMbugs] [Bug 14910] New: Need a portable implementation of llvm::sys::locale::columnWidth
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 10 16:02:04 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14910
Bug #: 14910
Summary: Need a portable implementation of
llvm::sys::locale::columnWidth
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Support Libraries
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gribozavr at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Currently there is a proper implementation of columnWidth for Mac OS X, but
only a stub implementation for other OSes.
The Mac OS X implementation (lib/Support/LocaleXlocale.inc) is currently not
portable because it uses *_l functions (e.g., mbstowcs_l) that are like their
standard counterparts (mbstowcs_l), but take a locale as an explicit parameter.
This implementation can be made portable by using standard functions and
assuming that we have a UTF-8 locale.
Is this viable?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list