Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Compiler Error With TBB's Atomic.h

$
0
0

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?


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>