Optimization yields the same result- The JDK is compiled with C++14, so that isn't an option unfortunately, but a quick test of C++17 also yields the same error
Currently I've managed to work around this by patching an ugly ifdef check and doing __CRT_UUID_DECL for all the missing entries On Mon, Jul 18, 2022 at 2:17 PM LIU Hao <[email protected]> wrote: > 在 2022/7/15 12:15, Biswapriyo Nath 写道: > > * Source: > https://github.com/openjdk/jdk/blob/master/src/jdk.hotspot.agent/windows/native/libsaproc/sawindbg.cpp > > * Error: undefined reference to '_GUID const& > > Does the error go away if either optimization or C++17 is enabled? > > Looks there should be a `__CRT_UUID_DECL` for this type, but it is missing. > > > -- > Best regards, > LIU Hao > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
