[QGIS-Developer] Calling for assistance - Windows MVSC builds not catching GEOS exceptions?
Jürgen E. Fischer
jef at norbit.de
Fri Mar 2 02:38:22 PST 2018
Hi Hugo,
On Fri, 02. Mar 2018 at 10:48:21 +0100, Hugo Mercier wrote:
> I know there are some issues when an exception is thrown from a DLL compiled
> with a different runtime version (i.e. different compiler version) than the
> DLL/EXE trying to catch it.
> https://stackoverflow.com/questions/5107948/throwing-c-exceptions-across-dll-boundaries
> Could it be the case between geos and qgis ?
Maybe. Although the exception is thrown from the same DLL, there's stuff from
others on the stack.
The GEOS C-API should probably be changed to catch the exception within the C
wrappers and return errors instead to fix this.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180302/26eb2549/attachment.sig>
More information about the QGIS-Developer
mailing list