- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page