[Development] Choosing a new MinGW for Qt 5

Peter Kümmel syntheticpp at gmx.net
Sat Sep 1 13:17:35 CEST 2012


On 01.09.2012 12:52, Thiago Macieira wrote:
> 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.

Yes, that's the reason why I assume such is not a real-world setup, one
had to translate the msvc mangling into the gcc one's.

>
> [For now; on Linux and some other systems, exceptions in C are used to mark
> thread cancellation points]
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list