[Development] Choosing a new MinGW for Qt 5

Thiago Macieira thiago.macieira at intel.com
Sat Sep 1 12:52:35 CEST 2012


On sábado, 1 de setembro de 2012 12.47.15, Peter Kümmel wrote:
> So you think it is possible to use DW2 for 32 bit binaries?

Yes.

> What happens if a binary compiled with GCC/DW2 calls a
> C++ function in a Dll compiled with MSVC and this function
> throws an exception?

First of all, how did you manage to compile that call?

Remember that the C++ ABIs are incompatible. That means you made the call 
through an extern "C" function. Assume that all C functions do not throw.

[For now; on Linux and some other systems, exceptions in C are used to mark 
thread cancellation points]

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120901/b0ac84ba/attachment.sig>


More information about the Development mailing list