- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the latest Intel C++ compiler suite (updated today), and I cannot use the atomics with TBB. I can declare an atomic variable, but I have no access to the various fetch/load/etc. functions because the __TBB_DECL_ATOMIC( ... ) macros throw errors. The compiler complains:
'Error: Pure specifier ('= 0') allowed only on virtual functions'
On any lines in 'Atomic.h' that use the macro:
__TBB_DECL_ATOMIC( ... )
I am posting this in the Intel Compiler forum because the MSVC compiler works perfectly. What can I do?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the issue. The compiler compiles it just fine, but the environment (VS2012) isn't recognizing the C++11 so I'm not getting Intellisense and I am getting false error squiggles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Chirst,
Good to hear that ,let me know if this is still a problem for you.
Thank you.
--
QIAOMIN.Q
Intel Developer Support
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page