Skip to content

Locale fails to build without ICU #5

Description

@nega0

Not having or disabling ICU causes cmake-release/cmake-1.49.0 to fail to build, because none of the other defines in libs/locale/src/encoding/codepage.cpp are satisfied.


[ 85%] Building CXX object libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_between(const char*, const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: ‘converter_between’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:42: error: invalid type in declaration before ‘;’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> > boost::locale::conv::impl::convert_to(const char*, const char*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: ‘converter_to_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:68: error: expected unqualified-id before ‘>’ token
/home/nega/boost/libs/locale/src/encoding/codepage.cpp: In function ‘std::string boost::locale::conv::impl::convert_from(const CharType*, const CharType*, const char*, boost::locale::conv::method_type)’:
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: ‘converter_from_utf’ was not declared in this scope
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: template argument 1 is invalid
/home/nega/boost/libs/locale/src/encoding/codepage.cpp:94: error: expected unqualified-id before ‘>’ token
make[2]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/encoding/codepage.cpp.o] Error 1
make[1]: *** [libs/locale/src/CMakeFiles/boost_locale-mt-shared.dir/all] Error 2
make: *** [all] Error 2
[zinc:~/boost.build] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions