Skip to content

Windows compilation warning when using wcsrtombs #593

Description

@cacharle
eric\../parsing\Parser_wstring.hpp:66:21: warning: 'wcsrtombs' is deprecated: This function or variable may be unsafe. Consider using wcsrtombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
    66 |     auto len = std::wcsrtombs(outStr.data(), &ptr, _str.size(), &state);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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