Porting from MSFT 2008 to C++ Composer-XE 2011 I have run into a link issue where in MSFT class and struct definitions seem to be treated differently. Case in point, MSFT compiler produces obj files that when linked have no issue with function parameters that switch between class and struct. foo(class x) boo (struct x). There are many many of these in the MSFT code. Is there a magic switch for the compiler (icl) or linker (xilink) to resolve this at a global level?
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.