I wanted a demangler that can demangle both Itanium-style and Microsoft-style mangled symbols, and that runs on all of Windows, Linux, and Mac OS X. I used libcxxabi's cxa_demangle for the Itanium demangling, but that required to get it to build with gcc on Linux and with clang-cl/MSVC on Windows. It required only small changes, and imho they look reasonable enough to send them upstream.
libstdc++ needs a few typedefs in malloc_alloc. MSVC's STL needs rebind(), construct(), destroy().
MSVC2013 also has no snprintf, but it allegedly exists in 2015. (I haven't tried building with 2015, though.)