- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We are in need of porting of huge C++ software program to linux. It uses a custom C++ library written by some really brilliant C++ programmer but with intense usage of __if_exists/__if_not_exists keywords. (close analog to "static if" support in 'D' language)
Until this time porting is not possible due to the fact that no linux(unix) compiler supports "__if_exists" extension.
But today, I've noticed the following in:
http://software.intel.com/en-us/articles/intel-professional-edition-compilers-111-fixes-list/
Update 6 (Posted April 2010), Package IDs below
...
DPD200017799 C++ Request to support MSVC __if_exists keyword on Linux
Does the above means, that the "__if_exists" support on Linux Intel C++ compiler is finally on?
Thank you, Dmitry
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually this was only fixed in 12.0.
If you want Microsoft extensions such as __if_exists you can now use our new -fms-dialect switch on Linux and Mac.
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-fms-dialect will be in the upcoming (12.0) release.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DPD200017799 | C++ | Request to support MSVC __if_exists keyword on Linux |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is possible that if, as you say, DPD200017799 was listed as 'fixed' at one time in the list and was later removed, that was simply a correction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is correct.
I've also recently learned that the -fms-dialect switch will only be officially supported and documented on Mac OS* X - although you can try to use it on other Linux* systems we have not tested and are not guaranteeing that using it will allow successful compilation of all the system header files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In 12.0 (not 11.1)you can use the -fms-dialect option which turns onlots of MS compatibility features and bugs, including __if_exists. But use at your own risk because we can't guarantee that the Linux system headers/libraries will work as expected with the MS dialect.
So you can consider this requestas eitherwill not be fixed (or fixed but not in the way you requested).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page