Skip to content

Compile error with gcc14 mingw #181

@sabelka

Description

@sabelka
../cpptrace-src/src/binary/object.cpp: In function 'std::string cpptrace::detail::get_module_name(HMODULE)':
../cpptrace-src/src/binary/object.cpp:119:51: error: 'system_error' is not a member of 'std'
  119 |                 std::fprintf(stderr, "%s\n", std::system_error(GetLastError(), std::system_category()).what());

An #include <system_error> is missing in src/binary/object.cpp`

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