History log of /external/libcxx/src/support/win32/locale_win32.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66ee69932410b12ae0a33d337cb627f63bcb033c 02-Jan-2017 Saleem Abdulrasool <compnerd@compnerd.org> win32: temporarily disable setting locale on 14+

The locale structures have been made opaque in CRT 14+. This currently
prevents building libc++ for Windows. We can re-enable this in the
future when we have replicated the structure to access the private field
for the name (unless there exists a better supported mechanism to query
the name of a locale given the locale_t).

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290835 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
cac9e30dbedef0887a35c42dbd96d8974660a11a 15-Sep-2016 Shoaib Meenai <smeenai@fb.com> [libc++] Avoid <memory> include in locale_win32.h

When `_LIBCPP_NO_EXCEPTIONS` is defined, we end up with compile errors
when targeting MSVCRT:

* Code includes `<new>`
* `<new>` includes `<cstdlib>` in order to get `abort`
* `<cstdlib>` includes `<stdlib.h>`, _before_ the `using ::abort`
* `<stdlib.h>` includes `locale_win32.h`
* `locale_win32.h` includes `<memory>`
* `<memory>` includes `<stdexcept>`
* `<stdexcept>` includes `<cstdlib` for `abort`, but that inclusion gets
(correctly) ignored because of header guards
* `<stdexcept>` references `_VSTD::abort`, which isn't declared

The easiest solution is to make `locale_win32.h` not include `<memory>`,
by removing the use of `unique_ptr` and manually restoring the locale
instead.

Differential Revision: https://reviews.llvm.org/D24374

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281641 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
15c04bedad8762d7ed031d53db26bf02b2df18bb 18-Nov-2013 Yaron Keren <yaron.keren@gmail.com> This patch implements snprintf_l function in a way similar to the other
functions in src/support/win32/locale_win32.cpp and locale_win32.h,
calling upon vsnprintf for which there is a MingW correct alternative.

Note! __USE_MINGW_ANSI_STDIO is not modified in this patch. In order to
use the __mingw version it must be defined before including the MingW
headers.




git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@195044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
5ec0ff81cecfbc317b2a53894f8bf2da6eb0e8c7 26-Aug-2013 Howard Hinnant <hhinnant@apple.com> G M: Improvements to Windows support.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@189273 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
9e98b34a8c03460dacab05068d900dd424e45e53 16-May-2013 Howard Hinnant <hhinnant@apple.com> Glen: This patch gets the string conversion functions working on Windows. It also refactors repetitive code in string.cpp do greatly reduce the repetitiveness, increasing maintainability.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@182026 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
f6bdda044cb4fb4135a4dddc6e33e4b7caed86bb 02-Apr-2013 Howard Hinnant <hhinnant@apple.com> Reference: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130325/077132.html

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@178545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
8db4acad3b67808114c495fc21d4db6e7e277087 17-Oct-2011 Howard Hinnant <hhinnant@apple.com> de-tabbify

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp
14fa9f9d8ff5a4541404f3e23b91188e74c56f31 29-Sep-2011 Howard Hinnant <hhinnant@apple.com> Windows port work by Ruben Van Boxem

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/support/win32/locale_win32.cpp