Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
7568 Discussions

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

sdm2315
Beginner
94 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
94 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
Reply