Hello list,

i am evaluating a possible change of vs2005+qt-4.4.3 to at least 
vs2010+qt-4.8.3, and perhaps qt5.X some time later on...

several of our projects use managed code, too, so we must compile with /clr 
option, but with this last qt version i get many warnings like:

  ..\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?

can i work around by not compiling whole modules with /clr but rather switch the
mode of the code parts explicitly with e.g.:

  // unmanaged
  #pragma managed(push on)
  // some managed classes used
  #pragma managed(pop)
  // unmanaged, qt classed used, again

i would appreciate some informations && thanks for listening
alex

-- 
"The significant problems we face cannot be solved at the
 same level of thinking we were at when we created them."
                -Albert Einstein

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to