Opened 9 years ago

Closed 9 years ago

#9268 closed Bugs (invalid)

boost.locale does not support char16_t for g++ 4.7

Reported by: brainstream@… Owned by: Artyom Beilis
Milestone: To Be Determined Component: locale
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Hello. I'm trying to use boost.locale to convert charset to UTF-16 but the char16_t implementation of the to_utf function is disabled with the

#ifdef BOOST_HAS_CHAR16_T

construction. I'm using g++ 4.7 with the -std=c++11 option and all new character types are works fine. However BOOST_HAS_CHAR16_T is not defined. I have researched source codes of the boost library and not found a place where the BOOST_HAS_CHAR16_T flag enabling for the g++ compiler. Please, provide enabling this flag for modern versions of the g++ compiler.

Change History (1)

comment:1 by Artyom Beilis, 9 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.