search for: convertutf8toutf16

Displaying 3 results from an estimated 3 matches for "convertutf8toutf16".

2011 Sep 01
3
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...; >> wrote: >> >>> _wopen expects wchar_t* and the only visible function for conversion >> >>> to >> >>> utf16 is ConvertUTF8toUTF32 which converts to unsigned shorts. >> >> >> >> If you're in #ifdef WIN32 code, just use ConvertUTF8toUTF16 and >> >> reinterpret_cast from unsigned short* to wchar_t*. >> > >> > I think the problem is that PathV2.inc is part of LLVM, and the >> > ConvertUTF8ToUTF16 function is in an anonymous namespace.  So the >> > question becomes: raise the function int...
2011 Sep 01
0
[LLVMdev] [cfe-dev] Unicode path handling on Windows
...t;> >>> _wopen expects wchar_t* and the only visible function for conversion > >> >>> to > >> >>> utf16 is ConvertUTF8toUTF32 which converts to unsigned shorts. > >> >> > >> >> If you're in #ifdef WIN32 code, just use ConvertUTF8toUTF16 and > >> >> reinterpret_cast from unsigned short* to wchar_t*. > >> > > >> > I think the problem is that PathV2.inc is part of LLVM, and the > >> > ConvertUTF8ToUTF16 function is in an anonymous namespace. So the > >> > question become...
2016 Oct 11
4
Port to other Operating Systems
Hello all, Pardon me if this has already been covered elsewhere, however I have not been able to find such documentation. Is there a consolidated set of documentation that clearly explains what's necessary to port LLVM to other OSes & how to add support for building executables (& libraries) for those OSes? I'm searching through the source in an attempt to understand what needs to