[PATCH] D25431: [libcxx] Convert Solaris support library to C++ to fix -std=c++11 build

Michał Górny via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 14 06:03:41 PDT 2016


mgorny retitled this revision from "[libcxx] [CMake] Build Solaris compat as separate C lib, to avoid -std= issues" to "[libcxx] Convert Solaris support library to C++ to fix -std=c++11 build
".
mgorny updated the summary for this revision.
mgorny updated this revision to Diff 74666.
mgorny added a comment.
Herald added a subscriber: modocache.

Ok, here's an updated patch that changes the code to C++. Since C++ is more strict than C, I also had to remove some conflicting declarations -- and while at it, I updated the header to avoid any collisions and redundancy on SunOS 5.11 (OpenIndiana). I don't have access to any older system, and considering that the support for SunOS in clang is still incomplete, I don't think it important to support older systems.


https://reviews.llvm.org/D25431

Files:
  include/support/solaris/xlocale.h
  lib/CMakeLists.txt
  src/support/solaris/mbsnrtowcs.inc
  src/support/solaris/wcsnrtombs.inc
  src/support/solaris/xlocale.c
  src/support/solaris/xlocale.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25431.74666.patch
Type: text/x-patch
Size: 8206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161014/4745d426/attachment.bin>


More information about the cfe-commits mailing list