- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Our application treats warning as error.
We are seeing below warning on windows with Visual Studio 2017 after upgrading to TBB 2020. It's coming from tbb "concurrent_unordered_set.h" header.
Below program helps to generate the warning.
Error details:
tbb\concurrent_unordered_set.h(229): error C2220: warning treated as error - no 'object' file generated
tbb\concurrent_unordered_set.h(235): note: see reference to alias template instantiation 'cu_set_t<tbb::interface5::concurrent_unordered_set,std::iterator_traits<_Iter>::value_type,>' being compiled
tbb\concurrent_unordered_set.h(229): warning C4296: '>': expression is always false
#include <tbb/concurrent_unordered_set.h> int main() { return 0; }
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I apologize for the lack of response to your thread. I have tested this with Visual Studio 2019 using the latest version of Intel® oneAPI Threading Building Blocks and this behavior is not occurring. Please try again with the latest version.
I am closing this thread for Intel support. Any future replies will be considered community only.
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page