Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Porting from MSFT 2008 to C++ Composer-XE 2011

sdm2315
Beginner
229 Views
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?
0 Kudos
1 Reply
JenniferJ
Moderator
229 Views
As long as your source code does not contain "attributes", there should be no problem.

Please give an example of the link error and the definition of the struct and class. Or a testcase would be great.

Thanks,
Jennifer
0 Kudos
Reply