Skip to content

Library does not compile. #116

@gogagum

Description

@gogagum

After using indicators::ProgressBar class in my code I recieve the following message from gcc-12 compiler:

.../indicators/include/indicators/display_width.hpp:284: error: ‘codecvt_utf8’ is not a member of ‘std’; did you mean ‘codecvt_base’? 
In file included from .../indicators/include/indicators/details/stream_helper.hpp:5, from .../indicators/include/indicators/progress_bar.hpp:5,
.../indicators/include/indicators/display_width.hpp: In function ‘std::wstring unicode::details::utf8_decode(const std::string&)’: 
.../indicators/include/indicators/display_width.hpp:284:29: error: ‘codecvt_utf8’ is not a member of ‘std’; did you mean ‘codecvt_base’? 284 |   std::wstring_convert<std::codecvt_utf8<wchar_t>> myconv;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions