Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error with gcc14 mingw #181

Open
sabelka opened this issue Oct 13, 2024 · 3 comments
Open

Compile error with gcc14 mingw #181

sabelka opened this issue Oct 13, 2024 · 3 comments
Labels

Comments

@sabelka
Copy link

sabelka commented Oct 13, 2024

../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`

@jeremy-rifkin
Copy link
Owner

Thanks, good catch

@jeremy-rifkin
Copy link
Owner

Will be solved by #186

@jeremy-rifkin jeremy-rifkin added the resolved in next release Resolved in dev label Oct 27, 2024
@jeremy-rifkin
Copy link
Owner

Fixed on main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants