[Interest] '__fastcall' incompatible with the '/clr'

Thiago Macieira thiago.macieira at intel.com
Wed Oct 31 15:36:16 CET 2012

On quarta-feira, 31 de outubro de 2012 10.10.58, alexander golks wrote:
>   ..\qchar.h(311): warning C4561: '__fastcall' incompatible with the '/clr' 
> option: converting to '__stdcall'
> i have searched the list and internet, but didn't find any explanation which
> really says: "yes, this is NO problem. as long...".
> can someone give me some more hints or explanations?
> is it just a problem when calling qt methods from managed code, or will it
> be  save due to the conversion to __stdcall, or is there more to this
> problem?

You simply cannot call those methods that are __fastcall from managed code.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/interest/attachments/20121031/10cfc081/attachment.sig>

More information about the Interest mailing list