Skip to content

Use of C functions inseaed of C++ #2

@lordvictory

Description

@lordvictory

Just pulled v1.0.4 source to build under g++ 13.2 for C++20 builds (Ubuntu 24.04)

Get build failures for unresolved definition of 'mbstowcs_s', which appears to be part of the C stdlib, not C++ stdlib, for a rare case of divergence between said libraries.

C++ reference @ https://en.cppreference.com/w/cpp/string/multibyte/mbstowcs indicates C++ should be using std::mbsrtowcs() for multi-threaded state issues.

Have #ifdef'd out offending helpers for now.

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