[Bug 50625] Unhandled exception with try/catch

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 7 09:22:35 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50625

--- Comment #26 from David Paradis <david.paradis at us.abb.com> ---
Let me first again thank you all for the assistance with this issue, it is
greatly appreciated.  Makes me extremely happy that this community is active
and addressing issues.

I have successfully been able to upgrade and build the Wine 6.22 sources and
all of my companies packages with the CRT as static rather than dynamic. I have
also been able to force the 3rd party code to build statically as well and all
is now working correctly on my platform.  Exceptions thrown in the 3rd party
library is being caught successfully in my code.

So, as far as I am concerned this issue is addressed when the projects are
configured properly and you have the libunwind-dev package installed.


I had to do the following steps before building Wine on my box in order for it
to detect and build against the Libunwind package:
  * After running the "./configure", edit the "/include/config.h.in" to replace
the "#undef HAVE_LIBUNWIND" with "#define HAVE_LIBUNWIND".
  * Edit the "dlls/ntdll/Makefile.in" to add to the end of the "EXTRALIBS"
definition the path libunwind of "/usr/lib/arm-linux-gnueabihf/libunwind.so"
  * Then on my project side, ensure that the CRuntimeLibrary is static rather
than dynamic.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list