Closed guusw closed 6 months ago
Bump from me.
Same build issue with MinGW-w64 GCC 13.1 gcc.exe (MinGW-W64 x86_64-ucrt-mcf-seh, built by Brecht Sanders) 13.1.0
from here: https://winlibs.com/
Those definitions were recently added to the mingw dbgeng.h
header, causing the redefinition error: https://github.com/mirror/mingw-w64/commit/ce5a9f624dfc691082dad2ea2af7b1985e3476b5
Pull request to fix this issue: https://github.com/boostorg/stacktrace/pull/140
Not only I get this error, but also I get another error when I try to use default stack traces (boost_stacktrace_basic) the memory addresses are undecodable. If you try to use addr2line you get ?? all the time. Making printing stack traces an impossible task for MinGW. My solution was downgrading to MinGW 7.5.
Also it did not work using backtrace either.
Fixed in https://github.com/boostorg/stacktrace/pull/140
If the fix does not help, please create a PR with a nee fix (I have no ready-to-use environments with the required version of MinGW, so it's quite complocated to find the right fix)
Using msys2, updating to the latest gcc-mingw(x64), stacktrace doesn't seem to build anymore, the UUIDs of IDebugClient, etc. seem to be already defined in dbgeng.h