Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
16 Views

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

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
Highlighted
Moderator
16 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