I'm looking for a C++ compiler (on FreeBSD 9.2-RELEASE) that has c++11 implementation. I'm trying to compile some simple source that includes <codecvt> and makes use of wstring_convert without success. The compilers I've played with are the system clang 3.3, gcc 4.6 and gcc 4.8. The system clang compiler should implement codecvt, but it doesn't (neither with libc++ nor stdlibc++), perhaps it still makes use of system gcc libraries.
I found the codecvt header in /usr/src/contrib/libc++/include, I don't know the reason why it's not in /usr/include or in the system clang headers library. Do or don't I need to build the system from source with some special options?
Does anyone know if there is a compiler in ports with c++11 (hopefully full) implementation? Actually I use other methods (multiplatform) in C (wcstombs and counterpart) and in C++ (facets) but I'd really like to change to a single-line encoding conversion. Thanks for watching.
I found the codecvt header in /usr/src/contrib/libc++/include, I don't know the reason why it's not in /usr/include or in the system clang headers library. Do or don't I need to build the system from source with some special options?
Does anyone know if there is a compiler in ports with c++11 (hopefully full) implementation? Actually I use other methods (multiplatform) in C (wcstombs and counterpart) and in C++ (facets) but I'd really like to change to a single-line encoding conversion. Thanks for watching.